all files / common/model/ theme.js

90.08% Statements 109/121
93.96% Branches 280/298
100% Functions 4/4
90.08% Lines 109/121
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246               4628× 4628×   17×   17×             35×   35×                                       13×   13×           17×   17×   4479×   4479×   4628×   4232× 4232× 4232×     25×                                                                                                                             25×       11×                                                                                                                           11×                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     10×                                                                                                                             10×                                                                                                                                   11×                                                                                                                               11×   4143×                                                                                                                             4143×   4232×   168× 168×   20×                   20×                                                                                                                                                                                                                                                                                           123×               123×   168×      
define(["require", "exports", "@syncfusion/ej2-svg-base"], function (require, exports, ej2_svg_base_1) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    exports.stockEventFont = {
        size: '13px',
        fontWeight: '400',
        color: null,
        fontStyle: 'Normal',
        fontFamily: 'Segoe UI'
    };
    function getSeriesColor(theme) {
        var palette;
        switch (theme) {
            case 'Fabric':
                palette = ['#4472c4', '#ed7d31', '#ffc000', '#70ad47', '#5b9bd5',
                    '#c1c1c1', '#6f6fe2', '#e269ae', '#9e480e', '#997300'];
                break;
            case 'Bootstrap4':
                palette = ['#a16ee5', '#f7ce69', '#55a5c2', '#7ddf1e', '#ff6ea6',
                    '#7953ac', '#b99b4f', '#407c92', '#5ea716', '#b91c52'];
                break;
            case 'Bootstrap':
                palette = ['#a16ee5', '#f7ce69', '#55a5c2', '#7ddf1e', '#ff6ea6',
                    '#7953ac', '#b99b4f', '#407c92', '#5ea716', '#b91c52'];
                break;
            case 'HighContrastLight':
            case 'HighContrast':
                palette = ['#79ECE4', '#E98272', '#DFE6B6', '#C6E773', '#BA98FF',
                    '#FA83C3', '#00C27A', '#43ACEF', '#D681EF', '#D8BC6E'];
                break;
            case 'MaterialDark':
                palette = ['#9ECB08', '#56AEFF', '#C57AFF', '#61EAA9', '#EBBB3E',
                    '#F45C5C', '#8A77FF', '#63C7FF', '#FF84B0', '#F7C928'];
                break;
            case 'FabricDark':
                palette = ['#4472c4', '#ed7d31', '#ffc000', '#70ad47', '#5b9bd5',
                    '#c1c1c1', '#6f6fe2', '#e269ae', '#9e480e', '#997300'];
                break;
            case 'BootstrapDark':
                palette = ['#a16ee5', '#f7ce69', '#55a5c2', '#7ddf1e', '#ff6ea6',
                    '#7953ac', '#b99b4f', '#407c92', '#5ea716', '#b91c52'];
                break;
            case 'Tailwind':
                palette = ['#5A61F6', '#65A30D', '#334155', '#14B8A6', '#8B5CF6',
                    '#0369A1', '#F97316', '#9333EA', '#F59E0B', '#15803D'];
                break;
            case 'TailwindDark':
                palette = ['#8B5CF6', '#22D3EE', '#F87171', '#4ADE80', '#E879F9',
                    '#FCD34D', '#F97316', '#2DD4BF', '#F472B6', '#10B981'];
                break;
            case 'Bootstrap5Dark':
            case 'Bootstrap5':
                palette = ['#FD7E14', '#6610F2', '#6F42C1', '#D63384', '#DC3545', '#FFC107', '#198754', '#0DCAF0'];
                break;
            case 'FluentDark':
                palette = ['#1AC9E6', '#DA4CB2', '#EDBB40', '#AF4BCF', '#FF7266',
                    '#1BD565', '#EE993D', '#5887FF', '#EC548D', '#7D39C0'];
                break;
            case 'Fluent':
                palette = ['#1AC9E6', '#DA4CB2', '#EDBB40', '#AF4BCF', '#FF7266',
                    '#1BD565', '#EE993D', '#5887FF', '#EC548D', '#7D39C0'];
                break;
            case 'Fluent2':
                palette = ['#6200EE', '#09AF74', '#0076E5', '#CB3587', '#E7910F',
                    '#0364DE', '#66CD15', '#F3A93C', '#107C10', '#C19C00'];
                break;
            case 'Fluent2Dark':
                palette = ['#9BB449', '#2A72D5', '#43B786', '#3F579A', '#584EC6',
                    '#E85F9C', '#6E7A89', '#EA6266', '#0B6A0B', '#C19C00'];
                break;
            case 'Fluent2HighContrast':
                palette = ['#9BB449', '#2A72D5', '#43B786', '#3F579A', '#584EC6',
                    '#E85F9C', '#6E7A89', '#EA6266', '#0B6A0B', '#C19C00'];
                break;
            case 'Material3':
                palette = ['#6355C7', '#00AEE0', '#FFB400', '#F7523F', '#963C70',
                    '#FD7400', '#4BE0BC', '#2196F5', '#DE3D8A', '#162F88'];
                break;
            case 'Material3Dark':
                palette = ['#4EAAFF', '#FA4EAB', '#FFF500', '#17EA58', '#38FFE7',
                    '#FF9E45', '#B3F32F', '#B93CE4', '#FC5664', '#9B55FF'];
                break;
            default:
                palette = ['#00bdae', '#404041', '#357cd2', '#e56590', '#f8b883',
                    '#70ad47', '#dd8abd', '#7f84e8', '#7bb4eb', '#ea7a57'];
                break;
        }
        return palette;
    }
    exports.getSeriesColor = getSeriesColor;
    function getThemeColor(theme, canvas, chart) {
        var style;
        var darkBackground = theme === 'MaterialDark' ? '#383838' : (theme === 'FabricDark' ? '#242424' : '#1b1b1b');
        switch (theme) {
            case 'HighContrastLight':
            case 'HighContrast':
                style = {
                    axisLabel: '#ffffff',
                    axisTitle: '#ffffff',
                    axisLine: '#ffffff',
                    majorGridLine: '#BFBFBF',
                    minorGridLine: '#969696',
                    majorTickLine: '#BFBFBF',
                    minorTickLine: '#969696',
                    chartTitle: '#ffffff',
                    legendLabel: '#ffffff',
                    background: canvas ? '#000000' : 'transparent',
                    areaBorder: '#ffffff',
                    errorBar: '#ffffff',
                    crosshairLine: '#ffffff',
                    crosshairFill: '#ffffff',
                    crosshairLabel: '#000000',
                    tooltipFill: '#ffffff',
                    tooltipBoldLabel: '#000000',
                    tooltipLightLabel: '#000000',
                    tooltipHeaderLine: '#969696',
                    markerShadow: '#BFBFBF',
                    selectionRectFill: 'rgba(255, 217, 57, 0.3)',
                    selectionRectStroke: '#ffffff',
                    selectionCircleStroke: '#FFD939',
                    tabColor: '#FFD939',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: '#FFD939',
                    toolkitFill: '#737373',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#969696', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#969696', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#000000', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#969696', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#000000', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#969696', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'MaterialDark':
            case 'FabricDark':
            case 'BootstrapDark':
                style = {
                    axisLabel: '#DADADA', axisTitle: '#ffffff',
                    axisLine: ' #6F6C6C',
                    majorGridLine: '#414040',
                    minorGridLine: '#514F4F',
                    majorTickLine: '#414040',
                    minorTickLine: ' #4A4848',
                    chartTitle: '#ffffff',
                    legendLabel: '#DADADA',
                    background: canvas ? darkBackground : 'transparent',
                    areaBorder: ' #9A9A9A',
                    errorBar: '#ffffff',
                    crosshairLine: '#F4F4F4',
                    crosshairFill: theme === 'MaterialDark' ? '#F4F4F4' : theme === 'FabricDark' ? '#A19F9D' : '#F0F0F0',
                    crosshairLabel: '#282727',
                    tooltipFill: '#F4F4F4',
                    tooltipBoldLabel: '#282727',
                    tooltipLightLabel: '#333232',
                    tooltipHeaderLine: '#9A9A9A',
                    markerShadow: null,
                    selectionRectFill: 'rgba(56,169,255, 0.1)',
                    selectionRectStroke: '#38A9FF',
                    selectionCircleStroke: '#282727',
                    tabColor: theme === 'MaterialDark' ? '#00B0FF' : theme === 'FabricDark' ? '#0074CC' : '#0070F0',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: theme === 'MaterialDark' ? '#00B0FF' : theme === 'FabricDark' ? '#0074CC' : '#0070F0',
                    toolkitFill: '#737373',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.87)' : theme === 'FabricDark' ? '#DADADA' : '#FFFFFF', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.6)' : theme === 'FabricDark' ? '#A19F9D' : '#CED4DA', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.87)' : theme === 'FabricDark' ? '#DADADA' : '#FFFFFF', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.6)' : theme === 'FabricDark' ? '#A19F9D' : '#676767', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: theme === 'MaterialDark' ? 'rgba(18, 18, 18, 1)' : theme === 'FabricDark' ? '#DADADA' : '#1A1A1A', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.87)' : theme === 'FabricDark' ? '#DADADA' : '#FFFFFF', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.6)' : theme === 'FabricDark' ? '#A19F9D' : '#676767', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.87)' : theme === 'FabricDark' ? '#DADADA' : '#FFFFFF', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: theme === 'MaterialDark' ? 'rgba(18, 18, 18, 1)' : theme === 'FabricDark' ? '#DADADA' : '#1A1A1A', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: theme === 'MaterialDark' ? 'rgba(255, 255, 255, 0.24)' : theme === 'FabricDark' ? '#6F6C6C' : '#414141', fontFamily: theme === 'MaterialDark' ? 'Roboto' : theme === 'FabricDark' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Bootstrap4':
                style = {
                    axisLabel: '#212529', axisTitle: '#212529', axisLine: '#CED4DA', majorGridLine: '#CED4DA',
                    minorGridLine: '#DEE2E6', majorTickLine: '#ADB5BD', minorTickLine: '#CED4DA', chartTitle: '#212529', legendLabel: '#212529',
                    background: canvas ? '#FFFFFF' : 'transparent', areaBorder: '#DEE2E6', errorBar: '#000000', crosshairLine: '#6C757D', crosshairFill: '#212529',
                    crosshairLabel: '#FFFFFF', tooltipFill: '#020202', tooltipBoldLabel: 'rgba(255,255,255)',
                    tooltipLightLabel: 'rgba(255,255,255, 0.9)', tooltipHeaderLine: 'rgba(255,255,255, 0.2)', markerShadow: null,
                    selectionRectFill: 'rgba(255,255,255, 0.1)', selectionRectStroke: 'rgba(0, 123, 255)', selectionCircleStroke: '#495057', tabColor: '#007BFF', bearFillColor: '#2ecd71', bullFillColor: '#e74c3d',
                    toolkitSelectionColor: '#007BFF',
                    toolkitFill: '#495057',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-5, -5, 26, 26),
                    chartTitleFont: {
                        color: '#212529', fontFamily: 'Helvetica', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#495057', fontFamily: 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#212529', fontFamily: 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#666666', fontFamily: 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#F9FAFB', fontFamily: 'Helvetica', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#212529', fontFamily: 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#495057', fontFamily: 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#212529', fontFamily: 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#F9FAFB', fontFamily: 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#6C757D', fontFamily: 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Tailwind':
                style = {
                    axisLabel: '#6B728', axisTitle: '#374151',
                    axisLine: ' #D1D5DB',
                    majorGridLine: '#E5E7EB',
                    minorGridLine: '#E5E7EB',
                    majorTickLine: '#D1D5DB',
                    minorTickLine: ' #D1D5DB',
                    chartTitle: '#374151',
                    legendLabel: '#374151',
                    background: canvas ? 'rgba(255,255,255, 0.0)' : 'transparent',
                    areaBorder: ' #E5E7EB',
                    errorBar: '#374151',
                    crosshairLine: '#1F2937',
                    crosshairFill: '#111827',
                    crosshairLabel: '#F9FAFB',
                    tooltipFill: '#111827',
                    tooltipBoldLabel: '#D1D5DB',
                    tooltipLightLabel: '#F9FAFB',
                    tooltipHeaderLine: '#6B7280',
                    markerShadow: null,
                    selectionRectFill: 'rgba(79,70,229, 0.1)',
                    selectionRectStroke: '#4F46E5',
                    selectionCircleStroke: '#6B7280',
                    tabColor: '#4F46E5',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: '#4F46E5',
                    toolkitFill: '#6B7280',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: '#374151', fontFamily: 'Inter', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#6B7280', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#374151', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#374151', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#F9FAFB', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#374151', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#6B7280', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#374151', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#F9FAFB', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#D1D5DB', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'TailwindDark':
                style = {
                    axisLabel: '#9CA3AF', axisTitle: '#9CA3AF',
                    axisLine: ' #4B5563',
                    majorGridLine: '#374151',
                    minorGridLine: '#374151',
                    majorTickLine: '#4B5563',
                    minorTickLine: ' #4B5563',
                    chartTitle: '#D1D5DB',
                    legendLabel: '#D1D5DB',
                    background: canvas ? '#1f2937' : 'transparent',
                    areaBorder: ' #374151',
                    errorBar: '#ffffff',
                    crosshairLine: '#9CA3AF',
                    crosshairFill: '#F9FAFB',
                    crosshairLabel: '#1F2937',
                    tooltipFill: '#F9FAFB',
                    tooltipBoldLabel: '#6B7280',
                    tooltipLightLabel: '#1F2937',
                    tooltipHeaderLine: '#9CA3AF',
                    markerShadow: null,
                    selectionRectFill: 'rgba(34,211,238, 0.1)',
                    selectionRectStroke: '#22D3EE',
                    selectionCircleStroke: '#282727',
                    tabColor: '#22D3EE',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: '#22D3EE',
                    toolkitFill: '#D1D5DB',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: '#D1D5DB', fontFamily: 'Inter', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#9CA3AF', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#D1D5DB', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#D1D5DB', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#1F2937', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#D1D5DB', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#9CA3AF', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#D1D5DB', fontFamily: 'Inter', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#1F2937', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#6B7280', fontFamily: 'Inter', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Bootstrap5':
                style = {
                    axisLabel: '#212529',
                    axisTitle: '#212529',
                    axisLine: '#DEE2E6',
                    majorGridLine: '#E9ECEF',
                    minorGridLine: '#E9ECEF',
                    majorTickLine: '#DEE2E6',
                    minorTickLine: '#E9ECEF',
                    chartTitle: '#212529',
                    legendLabel: '#212529',
                    background: canvas ? '#212529' : 'transparent',
                    areaBorder: '#E9ECEF',
                    errorBar: '#343A40',
                    crosshairLine: '#343A40',
                    crosshairFill: '#000000',
                    crosshairLabel: '#FFFFFF',
                    tooltipFill: '#E9ECEF',
                    tooltipBoldLabel: '#FFFFFF',
                    tooltipLightLabel: '#FFFFFF',
                    tooltipHeaderLine: '#FFFFFF',
                    markerShadow: null,
                    selectionRectFill: 'rgba(134,183,254, 0.1)',
                    selectionRectStroke: '#0D6EFD',
                    selectionCircleStroke: '#6B7280',
                    tabColor: '#0D6EFD',
                    bearFillColor: '#DC3545',
                    bullFillColor: '#6F42C1',
                    toolkitSelectionColor: '#6E757D',
                    toolkitFill: '#6E757D',
                    toolkitIconRectOverFill: '#F8F9FA',
                    toolkitIconRectSelectionFill: '#F8F9FA',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-6, -8, 32, 32),
                    chartTitleFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '16px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: chart.getModuleName() === 'accumulationchart' ? '#21252980' : '#212529', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '14px' : '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    crosshairLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    stripLineLabelFont: {
                        color: '#6C757D', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Bootstrap5Dark':
                style = {
                    axisLabel: '#DEE2E6',
                    axisTitle: '#DEE2E6',
                    axisLine: '#495057',
                    majorGridLine: '#343A40',
                    minorGridLine: '#343A40',
                    majorTickLine: '#495057',
                    minorTickLine: '#343A40',
                    chartTitle: '#DEE2E6',
                    legendLabel: '#DEE2E6',
                    background: canvas ? '#212529' : 'transparent',
                    areaBorder: '#343A40',
                    errorBar: '#ADB5BD',
                    crosshairLine: '#ADB5BD',
                    crosshairFill: '#FFFFFF',
                    crosshairLabel: '#212529',
                    tooltipFill: '#FFFFFF',
                    tooltipBoldLabel: '#212529',
                    tooltipLightLabel: '#212529',
                    tooltipHeaderLine: '#212529',
                    markerShadow: null,
                    selectionRectFill: 'rgba(134,183,254, 0.25)',
                    selectionRectStroke: '#0D6EFD',
                    selectionCircleStroke: '#0D6EFD',
                    tabColor: '#0D6EFD',
                    bearFillColor: '#DC3545',
                    bullFillColor: '#6F42C1',
                    toolkitSelectionColor: '#F8F9FA',
                    toolkitFill: '#ADB5BD',
                    toolkitIconRectOverFill: '#2B3035',
                    toolkitIconRectSelectionFill: '#343A40',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-6, -8, 32, 32),
                    chartTitleFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '16px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: chart.getModuleName() === 'accumulationchart' ? '#DEE2E680' : '#DEE2E6', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '14px' : '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    crosshairLabelFont: {
                        color: '#212529', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    stripLineLabelFont: {
                        color: '#DEE2E6', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Fluent':
                style = {
                    axisLabel: '#3B3A39',
                    axisTitle: '#201F1E',
                    axisLine: '#D2D0CE',
                    majorGridLine: '#EDEBE9',
                    minorGridLine: '#EDEBE9',
                    majorTickLine: '#D2D0CE',
                    minorTickLine: ' #D2D0CE',
                    chartTitle: '#201F1E',
                    legendLabel: '#323130',
                    background: canvas ? '#FFFFFF' : 'transparent',
                    areaBorder: '#EDEBE9',
                    errorBar: '#A19F9D',
                    crosshairLine: '#A19F9D',
                    crosshairFill: '#FFFFFF',
                    crosshairLabel: '#323130',
                    tooltipFill: '#FFFFFF',
                    tooltipBoldLabel: '#323130',
                    tooltipLightLabel: '#323130',
                    tooltipHeaderLine: '#D2D0CE',
                    markerShadow: null,
                    selectionRectFill: 'rgba(79,70,229, 0.1)',
                    selectionRectStroke: '#4F46E5',
                    selectionCircleStroke: '#6B7280',
                    tabColor: '#0078D4',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: '#0078D4',
                    toolkitFill: '#A19F9D',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: '#201F1E', fontFamily: 'Segoe UI', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#3B3A39', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#201F1E', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#49454E', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#323130', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#201F1E', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#3B3A39', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#323129', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#323130', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#A19F9D', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'FluentDark':
                style = {
                    axisLabel: '#C8C6C4',
                    axisTitle: '#F3F2F1',
                    axisLine: '#3B3A39',
                    majorGridLine: '#414040',
                    minorGridLine: '#414040',
                    majorTickLine: '#3B3A39',
                    minorTickLine: '#3B3A39',
                    chartTitle: '#F3F2F1',
                    legendLabel: '#D2D0CE',
                    background: canvas ? '#383838' : 'transparent',
                    areaBorder: '#414040',
                    errorBar: '#D2D0CE',
                    crosshairLine: '#D2D0CE',
                    crosshairFill: '#323130',
                    crosshairLabel: '#F3F2F1',
                    tooltipFill: '#252423',
                    tooltipBoldLabel: '#F3F2F1',
                    tooltipLightLabel: '#F3F2F1',
                    tooltipHeaderLine: '#3B3A39',
                    markerShadow: null,
                    selectionRectFill: 'rgba(79,70,229, 0.1)',
                    selectionRectStroke: '#4F46E5',
                    selectionCircleStroke: '#6B7280',
                    tabColor: '#0078D4',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: '#0078D4',
                    toolkitFill: '#484644',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: '#C8C6C4', fontFamily: 'Segoe UI', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#C8C6C4', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#F3F2F1', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#D2D0CE', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#F3F2F1', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#F3F2F2', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#D2D0CE', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#F3F2F1', fontFamily: 'Segoe UI', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#F3F2F1', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#484644', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Fluent2':
                style = {
                    axisLabel: '#616161',
                    axisTitle: '#242424',
                    axisLine: '#D2D0CE',
                    majorGridLine: '#EDEBE9',
                    minorGridLine: '#EDEBE9',
                    majorTickLine: '#D2D0CE',
                    minorTickLine: '#D2D0CE',
                    chartTitle: '#242424',
                    legendLabel: '#242424',
                    background: canvas ? '#383838' : 'transparent',
                    areaBorder: '#EDEBE9',
                    errorBar: '#A19F9D',
                    crosshairLine: '#A19F9D',
                    crosshairFill: '#FFFFFF',
                    crosshairLabel: '#242424',
                    tooltipFill: '#FFFFFF',
                    tooltipBoldLabel: '#242424',
                    tooltipLightLabel: '#242424',
                    tooltipHeaderLine: '#D2D0CE',
                    markerShadow: null,
                    selectionRectFill: 'rgba(180, 214, 250, 0.1)',
                    selectionRectStroke: '#0F6CBD',
                    selectionCircleStroke: '#0F6CBD',
                    tabColor: '#0078D4',
                    bearFillColor: '#E7910F',
                    bullFillColor: '#0076E5',
                    toolkitSelectionColor: '#424242',
                    toolkitFill: '#424242',
                    toolkitIconRectOverFill: '#E6E6E6',
                    toolkitIconRectSelectionFill: '#E6E6E6',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-6, -8, 32, 32),
                    chartTitleFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '16px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#616161', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#616161', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'chart' ? '12px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    crosshairLabelFont: {
                        color: '#242424', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '700'
                    },
                    stripLineLabelFont: {
                        color: '#616161', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Fluent2HighContrast':
                style = {
                    axisLabel: '#FFFFFF',
                    axisTitle: '#FFFFFF',
                    axisLine: '#3B3A39',
                    majorGridLine: '#292827',
                    minorGridLine: '#3B3A39',
                    majorTickLine: '#292827',
                    minorTickLine: '#292827',
                    chartTitle: '#FFFFFF',
                    legendLabel: '#FFFFFF',
                    background: canvas ? '#383838' : 'transparent',
                    areaBorder: '#292827',
                    errorBar: '#8A8886',
                    crosshairLine: '#8A8886',
                    crosshairFill: '#000000',
                    crosshairLabel: '#FFFFFF',
                    tooltipFill: '#292929',
                    tooltipBoldLabel: '#FFFFFF',
                    tooltipLightLabel: '#FFFFFF',
                    tooltipHeaderLine: '#3B3A39',
                    markerShadow: null,
                    selectionRectFill: 'rgba(26, 235, 255, 0.2)',
                    selectionRectStroke: '#1AEBFF',
                    selectionCircleStroke: '#1AEBFF',
                    tabColor: '#0078D4',
                    bearFillColor: '#584EC6',
                    bullFillColor: '#43B786',
                    toolkitSelectionColor: '#FFFFFF',
                    toolkitFill: '#FFFFFF',
                    toolkitIconRectOverFill: '#1AEBFF',
                    toolkitIconRectSelectionFill: '#1AEBFF',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-6, -8, 32, 32),
                    chartTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '16px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'chart' ? '12px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    crosshairLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '700'
                    },
                    stripLineLabelFont: {
                        color: '#ADADAD', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Fluent2Dark':
                style = {
                    axisLabel: '#ADADAD',
                    axisTitle: '#FFFFFF',
                    axisLine: '#3B3A39',
                    majorGridLine: '#3B3A39',
                    minorGridLine: '#3B3A39',
                    majorTickLine: '#292827',
                    minorTickLine: '#292827',
                    chartTitle: '#FFFFFF',
                    legendLabel: '#FFFFFF',
                    background: canvas ? '#383838' : 'transparent',
                    areaBorder: '#292827',
                    errorBar: '#8A8886',
                    crosshairLine: '#8A8886',
                    crosshairFill: '#292929',
                    crosshairLabel: '#FFFFFF',
                    tooltipFill: '#292929',
                    tooltipBoldLabel: '#FFFFFF',
                    tooltipLightLabel: '#FFFFFF',
                    tooltipHeaderLine: '#3B3A39',
                    markerShadow: null,
                    selectionRectFill: 'rgba(14, 71, 117, 0.1)',
                    selectionRectStroke: '#115EA3',
                    selectionCircleStroke: '#115EA3',
                    tabColor: '#0078D4',
                    bearFillColor: '#584EC6',
                    bullFillColor: '#43B786',
                    toolkitSelectionColor: '#D6D6D6',
                    toolkitFill: '#D6D6D6',
                    toolkitIconRectOverFill: '#333333',
                    toolkitIconRectSelectionFill: '#333333',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-6, -8, 32, 32),
                    chartTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'accumulationchart' ? '16px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#ADADAD', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#ADADAD', fontFamily: 'Segoe UI', size: chart.getModuleName() === 'chart' ? '12px' : '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    crosshairLabelFont: {
                        color: '#FFFFFF', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '700'
                    },
                    stripLineLabelFont: {
                        color: '#ADADAD', fontFamily: 'Segoe UI', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Material3':
                style = {
                    axisLabel: '#1E192B',
                    axisTitle: '#1C1B1F',
                    axisLine: '#C4C7C5',
                    majorGridLine: '#C4C7C5',
                    minorGridLine: '#C4C7C5',
                    majorTickLine: '#C4C7C5',
                    minorTickLine: ' #C4C7C5',
                    chartTitle: '#1C1B1F',
                    legendLabel: '#49454E',
                    background: canvas ? '#FFFFFF' : 'transparent',
                    areaBorder: '#E7E0EC',
                    errorBar: '#79747E',
                    crosshairLine: '#49454E',
                    crosshairFill: '#313033',
                    crosshairLabel: '#F4EFF4',
                    tooltipFill: '#313033',
                    tooltipBoldLabel: '#F4EFF4',
                    tooltipLightLabel: '#F4EFF4',
                    tooltipHeaderLine: '#F4EFF4',
                    markerShadow: null,
                    selectionRectFill: 'rgb(98, 0, 238, 0.06)',
                    selectionRectStroke: '#6200EE',
                    selectionCircleStroke: '#79747E',
                    tabColor: '#49454E',
                    bearFillColor: '#5887FF',
                    bullFillColor: '#F7523F',
                    toolkitSelectionColor: '#49454E',
                    toolkitFill: '#49454E',
                    toolkitIconRectOverFill: '#EADDFF',
                    toolkitIconRectSelectionFill: '#EADDFF',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-4, -5, 26, 26),
                    histogram: '#D21020',
                    chartTitleFont: {
                        color: '#1C1B1F', fontFamily: 'Roboto', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#1E192B', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#1C1B1F', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#49454E', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#F4EFF4', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#1C1B1F', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#49454E', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#49454E', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#F4EFF4', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#79747E', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            case 'Material3Dark':
                style = {
                    axisLabel: '#E6E1E5',
                    axisTitle: '#E6E1E5',
                    axisLine: '#49454F',
                    majorGridLine: '#444746',
                    minorGridLine: '#444746',
                    majorTickLine: '#444746',
                    minorTickLine: ' #444746',
                    chartTitle: '#E6E1E5',
                    legendLabel: '#CAC4D0',
                    background: canvas ? '#FFFFFF' : 'transparent',
                    areaBorder: '#49454F',
                    errorBar: '#938F99',
                    crosshairLine: '#CAC4D0',
                    crosshairFill: '#E6E1E5',
                    crosshairLabel: '#313033',
                    tooltipFill: '#E6E1E5',
                    tooltipBoldLabel: '#313033',
                    tooltipLightLabel: '#313033',
                    tooltipHeaderLine: '#313033',
                    markerShadow: null,
                    selectionRectFill: 'rgba(78, 170, 255, 0.06)',
                    selectionRectStroke: '#4EAAFF',
                    selectionCircleStroke: '#938F99',
                    tabColor: '#CAC4D0',
                    bearFillColor: '#B3F32F',
                    bullFillColor: '#FF9E45',
                    toolkitSelectionColor: '#CAC4D0',
                    toolkitFill: '#CAC4D0',
                    toolkitIconRectOverFill: '#4F378B',
                    toolkitIconRectSelectionFill: '#4F378B',
                    toolkitIconRect: new ej2_svg_base_1.Rect(-4, -5, 26, 26),
                    histogram: '#FF9E45',
                    chartTitleFont: {
                        color: '#E6E1E5', fontFamily: 'Roboto', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: '#CAC4D0', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: '#E6E1E5', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: '#CAC4D0', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: '#313033', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: '#E6E1E5', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: '#CAC4D0', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: '#CAC4D0', fontFamily: 'Roboto', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: '#313033', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: '#938F99', fontFamily: 'Roboto', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
            default:
                style = {
                    axisLabel: '#686868',
                    axisTitle: '#424242',
                    axisLine: '#b5b5b5',
                    majorGridLine: '#dbdbdb',
                    minorGridLine: '#eaeaea',
                    majorTickLine: '#b5b5b5',
                    minorTickLine: '#d6d6d6',
                    chartTitle: '#424242',
                    legendLabel: '#353535',
                    background: canvas ? '#FFFFFF' : 'transparent',
                    areaBorder: 'Gray',
                    errorBar: '#000000',
                    crosshairLine: '#4f4f4f',
                    crosshairFill: theme === 'Material' ? '#000816' : theme === 'Fabric' ? '#FFFFFF' : '#212529',
                    crosshairLabel: '#e5e5e5',
                    tooltipFill: '#000816',
                    tooltipBoldLabel: '#ffffff',
                    tooltipLightLabel: '#dbdbdb',
                    tooltipHeaderLine: '#ffffff',
                    markerShadow: null,
                    selectionRectFill: 'rgba(41, 171, 226, 0.1)',
                    selectionRectStroke: '#29abe2',
                    selectionCircleStroke: '#29abe2',
                    tabColor: theme === 'Material' ? '#ff4081' : theme === 'Fabric' ? '#0078D6' : '#317AB9',
                    bearFillColor: '#2ecd71',
                    bullFillColor: '#e74c3d',
                    toolkitSelectionColor: theme === 'Material' ? '#ff4081' : theme === 'Fabric' ? '#0078D6' : '#317AB9',
                    toolkitFill: '#737373',
                    toolkitIconRectOverFill: 'transparent',
                    toolkitIconRectSelectionFill: 'transparent',
                    toolkitIconRect: new ej2_svg_base_1.Rect(0, 0, 16, 16),
                    chartTitleFont: {
                        color: theme === 'Material' ? 'rgba(0, 0, 0, 1)' : theme === 'Fabric' ? '#333333' : '#212529', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '16px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    axisLabelFont: {
                        color: theme === 'Material' ? 'rgba(97, 97, 97, 1)' : theme === 'Fabric' ? '#666666' : '#676767', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    legendTitleFont: {
                        color: theme === 'Material' ? 'rgba(0, 0, 0, 1)' : theme === 'Fabric' ? '#333333' : '#212529', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    legendLabelFont: {
                        color: theme === 'Material' ? 'rgba(97, 97, 97, 1)' : theme === 'Fabric' ? '#666666' : '#666666', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    tooltipLabelFont: {
                        color: theme === 'Material' ? 'rgba(249, 250, 251, 1)' : theme === 'Fabric' ? '#333333' : '#F9FAFB', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal'
                    },
                    axisTitleFont: {
                        color: theme === 'Material' ? 'rgba(0, 0, 0, 1)' : theme === 'Fabric' ? '#333333' : '#212529', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '600'
                    },
                    datalabelFont: {
                        color: theme === 'Material' ? 'rgba(97, 97, 97, 1)' : theme === 'Fabric' ? '#666666' : '#676767', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    chartSubTitleFont: {
                        color: theme === 'Material' ? 'rgba(0, 0, 0, 1)' : theme === 'Fabric' ? '#333333' : '#212529', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '14px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    crosshairLabelFont: {
                        color: theme === 'Material' ? 'rgba(249, 250, 251, 1)' : theme === 'Fabric' ? '#333333' : '#F9FAFB', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    },
                    stripLineLabelFont: {
                        color: theme === 'Material' ? 'rgba(158, 158, 158, 1)' : theme === 'Fabric' ? '#A6A6A6' : '#676767', fontFamily: theme === 'Material' ? 'Roboto' : theme === 'Fabric' ? 'Segoe UI' : 'Helvetica', size: '12px', fontStyle: 'Normal', fontWeight: '400'
                    }
                };
                break;
        }
        return style;
    }
    exports.getThemeColor = getThemeColor;
    function getScrollbarThemeColor(theme) {
        var scrollStyle;
        switch (theme) {
            case 'HighContrastLight':
                scrollStyle = {
                    backRect: '#333',
                    thumb: '#bfbfbf',
                    circle: '#fff',
                    circleHover: '#685708',
                    arrow: '#333',
                    grip: '#333',
                    arrowHover: '#fff',
                    backRectBorder: '#969696'
                };
                break;
            case 'Bootstrap':
                scrollStyle = {
                    backRect: '#f5f5f5',
                    thumb: '#e6e6e6',
                    circle: '#fff',
                    circleHover: '#eee',
                    arrow: '#8c8c8c',
                    grip: '#8c8c8c'
                };
                break;
            case 'Fabric':
                scrollStyle = {
                    backRect: '#f8f8f8',
                    thumb: '#eaeaea',
                    circle: '#fff',
                    circleHover: '#eaeaea',
                    arrow: '#a6a6a6',
                    grip: '#a6a6a6'
                };
                break;
            case 'MaterialDark':
                scrollStyle = {
                    backRect: '#424242',
                    thumb: '#616161',
                    circle: '#757575',
                    circleHover: '#616161',
                    arrow: '#BDBDBD',
                    grip: '#BDBDBD'
                };
                break;
            case 'FabricDark':
                scrollStyle = {
                    backRect: '#282727',
                    thumb: '#333232',
                    circle: '#4A4848',
                    circleHover: '#514F4F',
                    arrow: '#ADB5BD',
                    grip: '#DADADA'
                };
                break;
            case 'BootstrapDark':
                scrollStyle = {
                    backRect: '#2A2A2A',
                    thumb: '#313131',
                    circle: '#414141',
                    circleHover: '#484848',
                    arrow: '#DADADA',
                    grip: '#FFFFFF'
                };
                break;
            case 'Bootstrap5':
                scrollStyle = {
                    backRect: '#E9ECEF',
                    thumb: '#ADB5BD',
                    circle: '#F8F9FA',
                    circleHover: '#F8F9FA',
                    arrow: '#6E757D',
                    grip: '#6E757D'
                };
                break;
            case 'Bootstrap5Dark':
                scrollStyle = {
                    backRect: '#343A40',
                    thumb: '#ADB5BD',
                    circle: '#2B3035',
                    circleHover: '#2B3035',
                    arrow: '#ADB5BD',
                    grip: '#ADB5BD'
                };
                break;
            case 'HighContrast':
                scrollStyle = {
                    backRect: '#757575',
                    thumb: '#BFBFBF',
                    circle: '#FFFFFF',
                    circleHover: '#FFFFFF',
                    arrow: '#ADB5BD',
                    grip: '#969696'
                };
                break;
            case 'TailwindDark':
                scrollStyle = {
                    backRect: '#6B7280',
                    thumb: '#374151',
                    circle: '#4B5563',
                    circleHover: '#4B5563',
                    arrow: '#ADB5BD',
                    grip: '#D1D5DB'
                };
                break;
            case 'Fluent':
                scrollStyle = {
                    backRect: '#F3F2F1',
                    thumb: '#E1DFDD',
                    circle: '#FFFFFF',
                    circleHover: '#E1DFDD',
                    arrow: '#605E5C',
                    grip: '#605E5C'
                };
                break;
            case 'FluentDark':
                scrollStyle = {
                    backRect: '#252423',
                    thumb: '#323130',
                    circle: '#3B3A39',
                    circleHover: '#3B3A39',
                    arrow: '#ADB5BD',
                    grip: '#A19F9D'
                };
                break;
            case 'Fluent2':
                scrollStyle = {
                    backRect: '#F5F5F5',
                    thumb: '#F0F0F0',
                    circle: '#FAFAFA',
                    circleHover: '#FAFAFA',
                    arrow: '#424242',
                    grip: '#424242'
                };
                break;
            case 'Fluent2Dark':
                scrollStyle = {
                    thumb: '#0A0A0A',
                    backRect: '#141414',
                    circle: '#1F1F1F',
                    circleHover: '#1F1F1F',
                    arrow: '#D6D6D6',
                    grip: '#D6D6D6'
                };
                break;
            case 'Fluent2HighContrast':
                scrollStyle = {
                    thumb: '#333333',
                    backRect: '#000000',
                    circle: '#000000',
                    circleHover: '#000000',
                    arrow: '#FFFFFF',
                    grip: '#FFFFFF'
                };
                break;
            case 'Material3':
                scrollStyle = {
                    backRect: 'rgba(103, 80, 164, 0.05)',
                    thumb: ' rgba(103, 80, 164, 0.14)',
                    circle: '#FFFFFF',
                    circleHover: '#E1DFDD',
                    arrow: '#49454E',
                    grip: '#49454E'
                };
                break;
            case 'Material3Dark':
                scrollStyle = {
                    backRect: 'rgba(208, 188, 255, 0.05)',
                    thumb: 'rgba(208, 188, 255, 0.14)',
                    circle: '#FFFFFF',
                    circleHover: '#E1DFDD',
                    arrow: '#CAC4D0',
                    grip: '#CAC4D0'
                };
                break;
            default:
                scrollStyle = {
                    backRect: '#f5f5f5',
                    thumb: '#e0e0e0',
                    circle: '#fff',
                    circleHover: '#eee',
                    arrow: '#9e9e9e',
                    grip: '#9e9e9e'
                };
                break;
        }
        return scrollStyle;
    }
    exports.getScrollbarThemeColor = getScrollbarThemeColor;
});