@genesislcap/g2plot-chart 15.15.0-GENC-1511.3 → 15.15.0-GENC-1508.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/custom-elements.json +1051 -1051
  2. package/package.json +14 -14
@@ -586,613 +586,144 @@
586
586
  },
587
587
  {
588
588
  "kind": "javascript-module",
589
- "path": "src/models/area-chart.ts",
589
+ "path": "src/chart-datasource/chart-datasource.ts",
590
590
  "declarations": [
591
591
  {
592
- "kind": "function",
593
- "name": "AreaChart",
594
- "parameters": [
592
+ "kind": "variable",
593
+ "name": "defaultChartFields",
594
+ "type": {
595
+ "text": "string"
596
+ },
597
+ "default": "'groupBy value'",
598
+ "description": "The first and second default chart fields when it's a dual axes chart.",
599
+ "privacy": "public"
600
+ },
601
+ {
602
+ "kind": "variable",
603
+ "name": "defaultSeriesChartField",
604
+ "type": {
605
+ "text": "string"
606
+ },
607
+ "default": "'series'",
608
+ "description": "The third default chart field when it's a triple axes chart.",
609
+ "privacy": "public"
610
+ },
611
+ {
612
+ "kind": "class",
613
+ "description": "The Genesis Datasource for the `g2plot-chart` component.",
614
+ "name": "ChartDatasource",
615
+ "members": [
595
616
  {
596
- "name": "container",
617
+ "kind": "field",
618
+ "name": "chartFields",
597
619
  "type": {
598
- "text": "HTMLElement"
599
- }
620
+ "text": "string"
621
+ },
622
+ "default": "'groupBy value'",
623
+ "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
624
+ "privacy": "public"
600
625
  },
601
626
  {
602
- "name": "config",
627
+ "kind": "field",
628
+ "name": "serverFields",
603
629
  "type": {
604
- "text": "AreaOptions"
605
- }
606
- }
607
- ]
608
- }
609
- ],
610
- "exports": [
611
- {
612
- "kind": "js",
613
- "name": "AreaChart",
614
- "declaration": {
615
- "name": "AreaChart",
616
- "module": "src/models/area-chart.ts"
617
- }
618
- }
619
- ]
620
- },
621
- {
622
- "kind": "javascript-module",
623
- "path": "src/models/bar-chart.ts",
624
- "declarations": [
625
- {
626
- "kind": "function",
627
- "name": "BarChart",
628
- "parameters": [
630
+ "text": "string"
631
+ },
632
+ "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
633
+ "privacy": "public"
634
+ },
629
635
  {
630
- "name": "container",
636
+ "kind": "field",
637
+ "name": "isStack",
631
638
  "type": {
632
- "text": "HTMLElement"
633
- }
639
+ "text": "boolean"
640
+ },
641
+ "default": "false",
642
+ "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
643
+ "privacy": "public"
634
644
  },
635
645
  {
636
- "name": "config",
646
+ "kind": "field",
647
+ "name": "isGroup",
637
648
  "type": {
638
- "text": "BarOptions"
639
- }
640
- }
641
- ]
642
- }
643
- ],
644
- "exports": [
645
- {
646
- "kind": "js",
647
- "name": "BarChart",
648
- "declaration": {
649
- "name": "BarChart",
650
- "module": "src/models/bar-chart.ts"
651
- }
652
- }
653
- ]
654
- },
655
- {
656
- "kind": "javascript-module",
657
- "path": "src/models/column-chart.ts",
658
- "declarations": [
659
- {
660
- "kind": "function",
661
- "name": "ColumnChart",
662
- "parameters": [
649
+ "text": "boolean"
650
+ },
651
+ "default": "false",
652
+ "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
653
+ "privacy": "public"
654
+ },
663
655
  {
664
- "name": "container",
656
+ "kind": "field",
657
+ "name": "reduced",
665
658
  "type": {
666
- "text": "HTMLElement"
659
+ "text": "boolean"
660
+ },
661
+ "privacy": "protected",
662
+ "default": "true",
663
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value]).",
664
+ "inheritedFrom": {
665
+ "name": "ConcreteDatasource",
666
+ "module": "src/chart-datasource/chart-datasource.ts"
667
667
  }
668
668
  },
669
669
  {
670
- "name": "config",
670
+ "kind": "field",
671
+ "name": "showFormattedTime",
671
672
  "type": {
672
- "text": "ColumnOptions"
673
+ "text": "boolean"
674
+ },
675
+ "privacy": "protected",
676
+ "default": "false",
677
+ "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
678
+ "inheritedFrom": {
679
+ "name": "ConcreteDatasource",
680
+ "module": "src/chart-datasource/chart-datasource.ts"
673
681
  }
674
- }
675
- ]
676
- }
677
- ],
678
- "exports": [
679
- {
680
- "kind": "js",
681
- "name": "ColumnChart",
682
- "declaration": {
683
- "name": "ColumnChart",
684
- "module": "src/models/column-chart.ts"
685
- }
686
- }
687
- ]
688
- },
689
- {
690
- "kind": "javascript-module",
691
- "path": "src/models/donut-chart.ts",
692
- "declarations": [
693
- {
694
- "kind": "function",
695
- "name": "DonutChart",
696
- "parameters": [
682
+ },
697
683
  {
698
- "name": "container",
684
+ "kind": "field",
685
+ "name": "withTimestampFormatting",
699
686
  "type": {
700
- "text": "HTMLElement"
687
+ "text": "boolean"
688
+ },
689
+ "default": "true",
690
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
691
+ "privacy": "public",
692
+ "inheritedFrom": {
693
+ "name": "BaseDatasource",
694
+ "module": "src/utils/base-datasource.ts"
701
695
  }
702
696
  },
703
697
  {
704
- "name": "config",
698
+ "kind": "field",
699
+ "name": "resourceName",
705
700
  "type": {
706
- "text": "PieOptions"
707
- }
708
- }
709
- ]
710
- }
711
- ],
712
- "exports": [
713
- {
714
- "kind": "js",
715
- "name": "DonutChart",
716
- "declaration": {
717
- "name": "DonutChart",
718
- "module": "src/models/donut-chart.ts"
719
- }
720
- }
721
- ]
722
- },
723
- {
724
- "kind": "javascript-module",
725
- "path": "src/models/dual-axes-chart.ts",
726
- "declarations": [
727
- {
728
- "kind": "function",
729
- "name": "DualAxesChart",
730
- "parameters": [
701
+ "text": "string"
702
+ },
703
+ "default": "''",
704
+ "inheritedFrom": {
705
+ "name": "BaseDatasource",
706
+ "module": "src/utils/base-datasource.ts"
707
+ },
708
+ "description": "Name of the backend resource which contain the data.",
709
+ "privacy": "public"
710
+ },
731
711
  {
732
- "name": "container",
712
+ "kind": "field",
713
+ "name": "criteria",
733
714
  "type": {
734
- "text": "HTMLElement"
735
- }
715
+ "text": "string"
716
+ },
717
+ "inheritedFrom": {
718
+ "name": "BaseDatasource",
719
+ "module": "src/utils/base-datasource.ts"
720
+ },
721
+ "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription.",
722
+ "privacy": "public"
736
723
  },
737
724
  {
738
- "name": "config",
739
- "type": {
740
- "text": "DualAxesOptions"
741
- }
742
- }
743
- ]
744
- }
745
- ],
746
- "exports": [
747
- {
748
- "kind": "js",
749
- "name": "DualAxesChart",
750
- "declaration": {
751
- "name": "DualAxesChart",
752
- "module": "src/models/dual-axes-chart.ts"
753
- }
754
- }
755
- ]
756
- },
757
- {
758
- "kind": "javascript-module",
759
- "path": "src/models/index.ts",
760
- "declarations": [],
761
- "exports": [
762
- {
763
- "kind": "js",
764
- "name": "*",
765
- "declaration": {
766
- "name": "*",
767
- "package": "./area-chart"
768
- }
769
- },
770
- {
771
- "kind": "js",
772
- "name": "*",
773
- "declaration": {
774
- "name": "*",
775
- "package": "./bar-chart"
776
- }
777
- },
778
- {
779
- "kind": "js",
780
- "name": "*",
781
- "declaration": {
782
- "name": "*",
783
- "package": "./column-chart"
784
- }
785
- },
786
- {
787
- "kind": "js",
788
- "name": "*",
789
- "declaration": {
790
- "name": "*",
791
- "package": "./donut-chart"
792
- }
793
- },
794
- {
795
- "kind": "js",
796
- "name": "*",
797
- "declaration": {
798
- "name": "*",
799
- "package": "./dual-axes-chart"
800
- }
801
- },
802
- {
803
- "kind": "js",
804
- "name": "*",
805
- "declaration": {
806
- "name": "*",
807
- "package": "./line-chart"
808
- }
809
- },
810
- {
811
- "kind": "js",
812
- "name": "*",
813
- "declaration": {
814
- "name": "*",
815
- "package": "./mix-chart"
816
- }
817
- },
818
- {
819
- "kind": "js",
820
- "name": "*",
821
- "declaration": {
822
- "name": "*",
823
- "package": "./pie-chart"
824
- }
825
- },
826
- {
827
- "kind": "js",
828
- "name": "*",
829
- "declaration": {
830
- "name": "*",
831
- "package": "./rose-chart"
832
- }
833
- },
834
- {
835
- "kind": "js",
836
- "name": "*",
837
- "declaration": {
838
- "name": "*",
839
- "package": "./scatter-chart"
840
- }
841
- },
842
- {
843
- "kind": "js",
844
- "name": "*",
845
- "declaration": {
846
- "name": "*",
847
- "package": "./stock-chart"
848
- }
849
- }
850
- ]
851
- },
852
- {
853
- "kind": "javascript-module",
854
- "path": "src/models/line-chart.ts",
855
- "declarations": [
856
- {
857
- "kind": "function",
858
- "name": "LineChart",
859
- "parameters": [
860
- {
861
- "name": "container",
862
- "type": {
863
- "text": "HTMLElement"
864
- }
865
- },
866
- {
867
- "name": "config",
868
- "type": {
869
- "text": "LineOptions"
870
- }
871
- }
872
- ]
873
- }
874
- ],
875
- "exports": [
876
- {
877
- "kind": "js",
878
- "name": "LineChart",
879
- "declaration": {
880
- "name": "LineChart",
881
- "module": "src/models/line-chart.ts"
882
- }
883
- }
884
- ]
885
- },
886
- {
887
- "kind": "javascript-module",
888
- "path": "src/models/mix-chart.ts",
889
- "declarations": [
890
- {
891
- "kind": "function",
892
- "name": "MixChart",
893
- "parameters": [
894
- {
895
- "name": "container",
896
- "type": {
897
- "text": "HTMLElement"
898
- }
899
- },
900
- {
901
- "name": "config",
902
- "type": {
903
- "text": "MixOptions"
904
- }
905
- }
906
- ]
907
- }
908
- ],
909
- "exports": [
910
- {
911
- "kind": "js",
912
- "name": "MixChart",
913
- "declaration": {
914
- "name": "MixChart",
915
- "module": "src/models/mix-chart.ts"
916
- }
917
- }
918
- ]
919
- },
920
- {
921
- "kind": "javascript-module",
922
- "path": "src/models/pie-chart.ts",
923
- "declarations": [
924
- {
925
- "kind": "function",
926
- "name": "PieChart",
927
- "parameters": [
928
- {
929
- "name": "container",
930
- "type": {
931
- "text": "HTMLElement"
932
- }
933
- },
934
- {
935
- "name": "config",
936
- "type": {
937
- "text": "PieOptions"
938
- }
939
- }
940
- ]
941
- }
942
- ],
943
- "exports": [
944
- {
945
- "kind": "js",
946
- "name": "PieChart",
947
- "declaration": {
948
- "name": "PieChart",
949
- "module": "src/models/pie-chart.ts"
950
- }
951
- }
952
- ]
953
- },
954
- {
955
- "kind": "javascript-module",
956
- "path": "src/models/rose-chart.ts",
957
- "declarations": [
958
- {
959
- "kind": "function",
960
- "name": "RoseChart",
961
- "parameters": [
962
- {
963
- "name": "container",
964
- "type": {
965
- "text": "HTMLElement"
966
- }
967
- },
968
- {
969
- "name": "config",
970
- "type": {
971
- "text": "RoseOptions"
972
- }
973
- }
974
- ]
975
- }
976
- ],
977
- "exports": [
978
- {
979
- "kind": "js",
980
- "name": "RoseChart",
981
- "declaration": {
982
- "name": "RoseChart",
983
- "module": "src/models/rose-chart.ts"
984
- }
985
- }
986
- ]
987
- },
988
- {
989
- "kind": "javascript-module",
990
- "path": "src/models/scatter-chart.ts",
991
- "declarations": [
992
- {
993
- "kind": "function",
994
- "name": "ScatterChart",
995
- "parameters": [
996
- {
997
- "name": "container",
998
- "type": {
999
- "text": "HTMLElement"
1000
- }
1001
- },
1002
- {
1003
- "name": "config",
1004
- "type": {
1005
- "text": "ScatterOptions"
1006
- }
1007
- }
1008
- ]
1009
- }
1010
- ],
1011
- "exports": [
1012
- {
1013
- "kind": "js",
1014
- "name": "ScatterChart",
1015
- "declaration": {
1016
- "name": "ScatterChart",
1017
- "module": "src/models/scatter-chart.ts"
1018
- }
1019
- }
1020
- ]
1021
- },
1022
- {
1023
- "kind": "javascript-module",
1024
- "path": "src/models/stock-chart.ts",
1025
- "declarations": [
1026
- {
1027
- "kind": "function",
1028
- "name": "StockChart",
1029
- "parameters": [
1030
- {
1031
- "name": "container",
1032
- "type": {
1033
- "text": "HTMLElement"
1034
- }
1035
- },
1036
- {
1037
- "name": "config",
1038
- "type": {
1039
- "text": "StockOptions"
1040
- }
1041
- }
1042
- ]
1043
- }
1044
- ],
1045
- "exports": [
1046
- {
1047
- "kind": "js",
1048
- "name": "StockChart",
1049
- "declaration": {
1050
- "name": "StockChart",
1051
- "module": "src/models/stock-chart.ts"
1052
- }
1053
- }
1054
- ]
1055
- },
1056
- {
1057
- "kind": "javascript-module",
1058
- "path": "src/chart-datasource/chart-datasource.ts",
1059
- "declarations": [
1060
- {
1061
- "kind": "variable",
1062
- "name": "defaultChartFields",
1063
- "type": {
1064
- "text": "string"
1065
- },
1066
- "default": "'groupBy value'",
1067
- "description": "The first and second default chart fields when it's a dual axes chart.",
1068
- "privacy": "public"
1069
- },
1070
- {
1071
- "kind": "variable",
1072
- "name": "defaultSeriesChartField",
1073
- "type": {
1074
- "text": "string"
1075
- },
1076
- "default": "'series'",
1077
- "description": "The third default chart field when it's a triple axes chart.",
1078
- "privacy": "public"
1079
- },
1080
- {
1081
- "kind": "class",
1082
- "description": "The Genesis Datasource for the `g2plot-chart` component.",
1083
- "name": "ChartDatasource",
1084
- "members": [
1085
- {
1086
- "kind": "field",
1087
- "name": "chartFields",
1088
- "type": {
1089
- "text": "string"
1090
- },
1091
- "default": "'groupBy value'",
1092
- "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
1093
- "privacy": "public"
1094
- },
1095
- {
1096
- "kind": "field",
1097
- "name": "serverFields",
1098
- "type": {
1099
- "text": "string"
1100
- },
1101
- "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
1102
- "privacy": "public"
1103
- },
1104
- {
1105
- "kind": "field",
1106
- "name": "isStack",
1107
- "type": {
1108
- "text": "boolean"
1109
- },
1110
- "default": "false",
1111
- "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
1112
- "privacy": "public"
1113
- },
1114
- {
1115
- "kind": "field",
1116
- "name": "isGroup",
1117
- "type": {
1118
- "text": "boolean"
1119
- },
1120
- "default": "false",
1121
- "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
1122
- "privacy": "public"
1123
- },
1124
- {
1125
- "kind": "field",
1126
- "name": "reduced",
1127
- "type": {
1128
- "text": "boolean"
1129
- },
1130
- "privacy": "protected",
1131
- "default": "true",
1132
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value]).",
1133
- "inheritedFrom": {
1134
- "name": "ConcreteDatasource",
1135
- "module": "src/chart-datasource/chart-datasource.ts"
1136
- }
1137
- },
1138
- {
1139
- "kind": "field",
1140
- "name": "showFormattedTime",
1141
- "type": {
1142
- "text": "boolean"
1143
- },
1144
- "privacy": "protected",
1145
- "default": "false",
1146
- "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
1147
- "inheritedFrom": {
1148
- "name": "ConcreteDatasource",
1149
- "module": "src/chart-datasource/chart-datasource.ts"
1150
- }
1151
- },
1152
- {
1153
- "kind": "field",
1154
- "name": "withTimestampFormatting",
1155
- "type": {
1156
- "text": "boolean"
1157
- },
1158
- "default": "true",
1159
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
1160
- "privacy": "public",
1161
- "inheritedFrom": {
1162
- "name": "BaseDatasource",
1163
- "module": "src/utils/base-datasource.ts"
1164
- }
1165
- },
1166
- {
1167
- "kind": "field",
1168
- "name": "resourceName",
1169
- "type": {
1170
- "text": "string"
1171
- },
1172
- "default": "''",
1173
- "inheritedFrom": {
1174
- "name": "BaseDatasource",
1175
- "module": "src/utils/base-datasource.ts"
1176
- },
1177
- "description": "Name of the backend resource which contain the data.",
1178
- "privacy": "public"
1179
- },
1180
- {
1181
- "kind": "field",
1182
- "name": "criteria",
1183
- "type": {
1184
- "text": "string"
1185
- },
1186
- "inheritedFrom": {
1187
- "name": "BaseDatasource",
1188
- "module": "src/utils/base-datasource.ts"
1189
- },
1190
- "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription.",
1191
- "privacy": "public"
1192
- },
1193
- {
1194
- "kind": "field",
1195
- "name": "data",
725
+ "kind": "field",
726
+ "name": "data",
1196
727
  "type": {
1197
728
  "text": "any[]"
1198
729
  },
@@ -1944,22 +1475,149 @@
1944
1475
  },
1945
1476
  {
1946
1477
  "kind": "method",
1947
- "name": "filterSnapshotResult",
1478
+ "name": "filterSnapshotResult",
1479
+ "privacy": "private",
1480
+ "return": {
1481
+ "type": {
1482
+ "text": "any[] | undefined"
1483
+ }
1484
+ },
1485
+ "parameters": [
1486
+ {
1487
+ "name": "result",
1488
+ "type": {
1489
+ "text": "Message | any[]"
1490
+ }
1491
+ }
1492
+ ],
1493
+ "description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available.",
1494
+ "inheritedFrom": {
1495
+ "name": "BaseDatasource",
1496
+ "module": "src/utils/base-datasource.ts"
1497
+ }
1498
+ },
1499
+ {
1500
+ "kind": "method",
1501
+ "name": "updateRequestPagingState",
1502
+ "privacy": "private",
1503
+ "return": {
1504
+ "type": {
1505
+ "text": "void"
1506
+ }
1507
+ },
1508
+ "parameters": [
1509
+ {
1510
+ "name": "result",
1511
+ "type": {
1512
+ "text": "Message | any[]"
1513
+ }
1514
+ },
1515
+ {
1516
+ "name": "rowCount",
1517
+ "type": {
1518
+ "text": "number"
1519
+ }
1520
+ },
1521
+ {
1522
+ "name": "requestedOffset",
1523
+ "type": {
1524
+ "text": "number"
1525
+ }
1526
+ }
1527
+ ],
1528
+ "inheritedFrom": {
1529
+ "name": "BaseDatasource",
1530
+ "module": "src/utils/base-datasource.ts"
1531
+ }
1532
+ },
1533
+ {
1534
+ "kind": "method",
1535
+ "name": "initialRequestOffset",
1536
+ "privacy": "private",
1537
+ "return": {
1538
+ "type": {
1539
+ "text": "number"
1540
+ }
1541
+ },
1542
+ "inheritedFrom": {
1543
+ "name": "BaseDatasource",
1544
+ "module": "src/utils/base-datasource.ts"
1545
+ }
1546
+ },
1547
+ {
1548
+ "kind": "method",
1549
+ "name": "datasourceOptions",
1550
+ "privacy": "private",
1551
+ "return": {
1552
+ "type": {
1553
+ "text": "DatasourceOptions"
1554
+ }
1555
+ },
1556
+ "inheritedFrom": {
1557
+ "name": "BaseDatasource",
1558
+ "module": "src/utils/base-datasource.ts"
1559
+ }
1560
+ },
1561
+ {
1562
+ "kind": "method",
1563
+ "name": "handleStreamUpdate",
1564
+ "privacy": "private",
1565
+ "parameters": [
1566
+ {
1567
+ "name": "result",
1568
+ "type": {
1569
+ "text": "FilteredDataServerResult | RequestServerResult"
1570
+ }
1571
+ }
1572
+ ],
1573
+ "inheritedFrom": {
1574
+ "name": "BaseDatasource",
1575
+ "module": "src/utils/base-datasource.ts"
1576
+ }
1577
+ },
1578
+ {
1579
+ "kind": "method",
1580
+ "name": "applyRequestServerData",
1581
+ "privacy": "public",
1582
+ "parameters": [
1583
+ {
1584
+ "name": "requestServerResult",
1585
+ "type": {
1586
+ "text": "RequestServerResult"
1587
+ }
1588
+ }
1589
+ ],
1590
+ "inheritedFrom": {
1591
+ "name": "BaseDatasource",
1592
+ "module": "src/utils/base-datasource.ts"
1593
+ }
1594
+ },
1595
+ {
1596
+ "kind": "method",
1597
+ "name": "applyDataserverData",
1598
+ "privacy": "public",
1599
+ "parameters": [
1600
+ {
1601
+ "name": "dataServerResult",
1602
+ "type": {
1603
+ "text": "FilteredDataServerResult"
1604
+ }
1605
+ }
1606
+ ],
1607
+ "inheritedFrom": {
1608
+ "name": "BaseDatasource",
1609
+ "module": "src/utils/base-datasource.ts"
1610
+ }
1611
+ },
1612
+ {
1613
+ "kind": "method",
1614
+ "name": "buildCriteria",
1948
1615
  "privacy": "private",
1949
1616
  "return": {
1950
1617
  "type": {
1951
- "text": "any[] | undefined"
1618
+ "text": "string"
1952
1619
  }
1953
1620
  },
1954
- "parameters": [
1955
- {
1956
- "name": "result",
1957
- "type": {
1958
- "text": "Message | any[]"
1959
- }
1960
- }
1961
- ],
1962
- "description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available.",
1963
1621
  "inheritedFrom": {
1964
1622
  "name": "BaseDatasource",
1965
1623
  "module": "src/utils/base-datasource.ts"
@@ -1967,30 +1625,19 @@
1967
1625
  },
1968
1626
  {
1969
1627
  "kind": "method",
1970
- "name": "updateRequestPagingState",
1971
- "privacy": "private",
1972
- "return": {
1973
- "type": {
1974
- "text": "void"
1975
- }
1976
- },
1628
+ "name": "setFilter",
1629
+ "privacy": "public",
1977
1630
  "parameters": [
1978
1631
  {
1979
- "name": "result",
1980
- "type": {
1981
- "text": "Message | any[]"
1982
- }
1983
- },
1984
- {
1985
- "name": "rowCount",
1632
+ "name": "fieldName",
1986
1633
  "type": {
1987
- "text": "number"
1634
+ "text": "string"
1988
1635
  }
1989
1636
  },
1990
1637
  {
1991
- "name": "requestedOffset",
1638
+ "name": "newFilter",
1992
1639
  "type": {
1993
- "text": "number"
1640
+ "text": "string"
1994
1641
  }
1995
1642
  }
1996
1643
  ],
@@ -2001,13 +1648,16 @@
2001
1648
  },
2002
1649
  {
2003
1650
  "kind": "method",
2004
- "name": "initialRequestOffset",
2005
- "privacy": "private",
2006
- "return": {
2007
- "type": {
2008
- "text": "number"
1651
+ "name": "removeFilter",
1652
+ "privacy": "public",
1653
+ "parameters": [
1654
+ {
1655
+ "name": "fieldName",
1656
+ "type": {
1657
+ "text": "string"
1658
+ }
2009
1659
  }
2010
- },
1660
+ ],
2011
1661
  "inheritedFrom": {
2012
1662
  "name": "BaseDatasource",
2013
1663
  "module": "src/utils/base-datasource.ts"
@@ -2015,27 +1665,18 @@
2015
1665
  },
2016
1666
  {
2017
1667
  "kind": "method",
2018
- "name": "datasourceOptions",
2019
- "privacy": "private",
1668
+ "name": "handleError",
2020
1669
  "return": {
2021
1670
  "type": {
2022
- "text": "DatasourceOptions"
1671
+ "text": "void"
2023
1672
  }
2024
1673
  },
2025
- "inheritedFrom": {
2026
- "name": "BaseDatasource",
2027
- "module": "src/utils/base-datasource.ts"
2028
- }
2029
- },
2030
- {
2031
- "kind": "method",
2032
- "name": "handleStreamUpdate",
2033
- "privacy": "private",
2034
1674
  "parameters": [
2035
1675
  {
2036
- "name": "result",
1676
+ "name": "params",
1677
+ "default": "{}",
2037
1678
  "type": {
2038
- "text": "FilteredDataServerResult | RequestServerResult"
1679
+ "text": "BaseDatasourceErrorHandlingOptions"
2039
1680
  }
2040
1681
  }
2041
1682
  ],
@@ -2046,13 +1687,17 @@
2046
1687
  },
2047
1688
  {
2048
1689
  "kind": "method",
2049
- "name": "applyRequestServerData",
2050
- "privacy": "public",
1690
+ "name": "getFieldMetadata",
1691
+ "return": {
1692
+ "type": {
1693
+ "text": "FieldMetadata"
1694
+ }
1695
+ },
2051
1696
  "parameters": [
2052
1697
  {
2053
- "name": "requestServerResult",
1698
+ "name": "fieldName",
2054
1699
  "type": {
2055
- "text": "RequestServerResult"
1700
+ "text": "string"
2056
1701
  }
2057
1702
  }
2058
1703
  ],
@@ -2063,13 +1708,18 @@
2063
1708
  },
2064
1709
  {
2065
1710
  "kind": "method",
2066
- "name": "applyDataserverData",
2067
- "privacy": "public",
1711
+ "name": "getDefaultLabelFormat",
2068
1712
  "parameters": [
2069
1713
  {
2070
- "name": "dataServerResult",
1714
+ "name": "field",
2071
1715
  "type": {
2072
- "text": "FilteredDataServerResult"
1716
+ "text": "any"
1717
+ }
1718
+ },
1719
+ {
1720
+ "name": "type",
1721
+ "type": {
1722
+ "text": "FieldTypeEnum"
2073
1723
  }
2074
1724
  }
2075
1725
  ],
@@ -2079,581 +1729,952 @@
2079
1729
  }
2080
1730
  },
2081
1731
  {
2082
- "kind": "method",
2083
- "name": "buildCriteria",
1732
+ "kind": "field",
1733
+ "name": "_presentation",
1734
+ "type": {
1735
+ "text": "ComponentPresentation | null | undefined"
1736
+ },
2084
1737
  "privacy": "private",
1738
+ "default": "void 0",
1739
+ "inheritedFrom": {
1740
+ "name": "FoundationElement",
1741
+ "module": "src/foundation-element/foundation-element.ts"
1742
+ }
1743
+ },
1744
+ {
1745
+ "kind": "field",
1746
+ "name": "$presentation",
1747
+ "type": {
1748
+ "text": "ComponentPresentation | null"
1749
+ },
1750
+ "privacy": "public",
1751
+ "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1752
+ "inheritedFrom": {
1753
+ "name": "FoundationElement",
1754
+ "module": "src/foundation-element/foundation-element.ts"
1755
+ }
1756
+ },
1757
+ {
1758
+ "kind": "field",
1759
+ "name": "template",
1760
+ "type": {
1761
+ "text": "ElementViewTemplate | void | null"
1762
+ },
1763
+ "privacy": "public",
1764
+ "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1765
+ "inheritedFrom": {
1766
+ "name": "FoundationElement",
1767
+ "module": "src/foundation-element/foundation-element.ts"
1768
+ }
1769
+ },
1770
+ {
1771
+ "kind": "method",
1772
+ "name": "templateChanged",
1773
+ "privacy": "protected",
2085
1774
  "return": {
2086
1775
  "type": {
2087
- "text": "string"
1776
+ "text": "void"
2088
1777
  }
2089
1778
  },
2090
1779
  "inheritedFrom": {
2091
- "name": "BaseDatasource",
2092
- "module": "src/utils/base-datasource.ts"
1780
+ "name": "FoundationElement",
1781
+ "module": "src/foundation-element/foundation-element.ts"
1782
+ }
1783
+ },
1784
+ {
1785
+ "kind": "field",
1786
+ "name": "styles",
1787
+ "type": {
1788
+ "text": "ElementStyles | void | null"
1789
+ },
1790
+ "privacy": "public",
1791
+ "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
1792
+ "inheritedFrom": {
1793
+ "name": "FoundationElement",
1794
+ "module": "src/foundation-element/foundation-element.ts"
2093
1795
  }
2094
1796
  },
2095
1797
  {
2096
1798
  "kind": "method",
2097
- "name": "setFilter",
1799
+ "name": "stylesChanged",
1800
+ "privacy": "protected",
1801
+ "return": {
1802
+ "type": {
1803
+ "text": "void"
1804
+ }
1805
+ },
1806
+ "inheritedFrom": {
1807
+ "name": "FoundationElement",
1808
+ "module": "src/foundation-element/foundation-element.ts"
1809
+ }
1810
+ },
1811
+ {
1812
+ "kind": "method",
1813
+ "name": "compose",
2098
1814
  "privacy": "public",
1815
+ "static": true,
1816
+ "return": {
1817
+ "type": {
1818
+ "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
1819
+ }
1820
+ },
2099
1821
  "parameters": [
2100
1822
  {
2101
- "name": "fieldName",
1823
+ "name": "this",
2102
1824
  "type": {
2103
- "text": "string"
1825
+ "text": "K"
2104
1826
  }
2105
1827
  },
2106
1828
  {
2107
- "name": "newFilter",
1829
+ "name": "elementDefinition",
2108
1830
  "type": {
2109
- "text": "string"
2110
- }
1831
+ "text": "T"
1832
+ },
1833
+ "description": "The definition of the element to create the registry\nfunction for."
2111
1834
  }
2112
1835
  ],
1836
+ "description": "Defines an element registry function with a set of element definition defaults.",
1837
+ "inheritedFrom": {
1838
+ "name": "FoundationElement",
1839
+ "module": "src/foundation-element/foundation-element.ts"
1840
+ }
1841
+ }
1842
+ ],
1843
+ "events": [
1844
+ {
1845
+ "description": "Fired when configuration or data loading fails fatally. detail: `ChartDatasourceErrorEventDetail`",
1846
+ "name": "datasource-error"
1847
+ }
1848
+ ],
1849
+ "attributes": [
1850
+ {
1851
+ "name": "chart-fields",
1852
+ "type": {
1853
+ "text": "string"
1854
+ },
1855
+ "default": "defaultChartFields",
1856
+ "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
1857
+ "resolveInitializer": {
1858
+ "module": "src/chart-datasource/chart-datasource.ts"
1859
+ },
1860
+ "fieldName": "chartFields"
1861
+ },
1862
+ {
1863
+ "name": "server-fields",
1864
+ "type": {
1865
+ "text": "string"
1866
+ },
1867
+ "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
1868
+ "fieldName": "serverFields"
1869
+ },
1870
+ {
1871
+ "name": "is-stack",
1872
+ "type": {
1873
+ "text": "boolean"
1874
+ },
1875
+ "default": "false",
1876
+ "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
1877
+ "fieldName": "isStack"
1878
+ },
1879
+ {
1880
+ "name": "is-group",
1881
+ "type": {
1882
+ "text": "boolean"
1883
+ },
1884
+ "default": "false",
1885
+ "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
1886
+ "fieldName": "isGroup"
1887
+ },
1888
+ {
1889
+ "type": {
1890
+ "text": "boolean"
1891
+ },
1892
+ "default": "true",
1893
+ "fieldName": "reduced",
1894
+ "inheritedFrom": {
1895
+ "name": "BaseDatasource",
1896
+ "module": "src/utils/base-datasource.ts"
1897
+ },
1898
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
1899
+ },
1900
+ {
1901
+ "name": "show-formatted-time",
1902
+ "type": {
1903
+ "text": "boolean"
1904
+ },
1905
+ "default": "false",
1906
+ "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
1907
+ "fieldName": "showFormattedTime"
1908
+ },
1909
+ {
1910
+ "name": "with-timestamp-formatting",
1911
+ "type": {
1912
+ "text": "boolean"
1913
+ },
1914
+ "default": "true",
1915
+ "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
1916
+ "fieldName": "withTimestampFormatting",
2113
1917
  "inheritedFrom": {
2114
1918
  "name": "BaseDatasource",
2115
1919
  "module": "src/utils/base-datasource.ts"
2116
1920
  }
2117
1921
  },
2118
1922
  {
2119
- "kind": "method",
2120
- "name": "removeFilter",
2121
- "privacy": "public",
2122
- "parameters": [
2123
- {
2124
- "name": "fieldName",
2125
- "type": {
2126
- "text": "string"
2127
- }
2128
- }
2129
- ],
1923
+ "name": "resourceName",
1924
+ "type": {
1925
+ "text": "string"
1926
+ },
1927
+ "default": "''",
1928
+ "fieldName": "resourceName",
2130
1929
  "inheritedFrom": {
2131
1930
  "name": "BaseDatasource",
2132
1931
  "module": "src/utils/base-datasource.ts"
2133
- }
1932
+ },
1933
+ "description": "Name of the backend resource which contain the data."
2134
1934
  },
2135
1935
  {
2136
- "kind": "method",
2137
- "name": "handleError",
2138
- "return": {
2139
- "type": {
2140
- "text": "void"
2141
- }
1936
+ "name": "criteria",
1937
+ "type": {
1938
+ "text": "string"
2142
1939
  },
2143
- "parameters": [
2144
- {
2145
- "name": "params",
2146
- "default": "{}",
2147
- "type": {
2148
- "text": "BaseDatasourceErrorHandlingOptions"
2149
- }
2150
- }
2151
- ],
1940
+ "fieldName": "criteria",
2152
1941
  "inheritedFrom": {
2153
1942
  "name": "BaseDatasource",
2154
1943
  "module": "src/utils/base-datasource.ts"
2155
- }
1944
+ },
1945
+ "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription."
2156
1946
  },
2157
1947
  {
2158
- "kind": "method",
2159
- "name": "getFieldMetadata",
2160
- "return": {
2161
- "type": {
2162
- "text": "FieldMetadata"
2163
- }
1948
+ "type": {
1949
+ "text": "boolean"
2164
1950
  },
2165
- "parameters": [
2166
- {
2167
- "name": "fieldName",
2168
- "type": {
2169
- "text": "string"
2170
- }
2171
- }
2172
- ],
1951
+ "default": "true",
1952
+ "fieldName": "reduced",
2173
1953
  "inheritedFrom": {
2174
1954
  "name": "BaseDatasource",
2175
1955
  "module": "src/utils/base-datasource.ts"
2176
- }
1956
+ },
1957
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2177
1958
  },
2178
1959
  {
2179
- "kind": "method",
2180
- "name": "getDefaultLabelFormat",
2181
- "parameters": [
2182
- {
2183
- "name": "field",
2184
- "type": {
2185
- "text": "any"
2186
- }
2187
- },
2188
- {
2189
- "name": "type",
2190
- "type": {
2191
- "text": "FieldTypeEnum"
2192
- }
2193
- }
2194
- ],
1960
+ "name": "maxRows",
1961
+ "type": {
1962
+ "text": "number"
1963
+ },
1964
+ "fieldName": "maxRows",
2195
1965
  "inheritedFrom": {
2196
1966
  "name": "BaseDatasource",
2197
1967
  "module": "src/utils/base-datasource.ts"
2198
- }
1968
+ },
1969
+ "description": "Maximum number of rows to be returned as part of the initial message,\nand as part of any additional MORE_ROWS messages.\nThis will not affect the number of rows displayed."
2199
1970
  },
2200
1971
  {
2201
- "kind": "field",
2202
- "name": "_presentation",
1972
+ "name": "maxView",
2203
1973
  "type": {
2204
- "text": "ComponentPresentation | null | undefined"
1974
+ "text": "number"
2205
1975
  },
2206
- "privacy": "private",
2207
- "default": "void 0",
1976
+ "fieldName": "maxView",
2208
1977
  "inheritedFrom": {
2209
- "name": "FoundationElement",
2210
- "module": "src/foundation-element/foundation-element.ts"
2211
- }
1978
+ "name": "BaseDatasource",
1979
+ "module": "src/utils/base-datasource.ts"
1980
+ },
1981
+ "description": "Maximum number of rows to track as part of a client \"view\"."
2212
1982
  },
2213
1983
  {
2214
- "kind": "field",
2215
- "name": "$presentation",
1984
+ "name": "orderBy",
2216
1985
  "type": {
2217
- "text": "ComponentPresentation | null"
1986
+ "text": "string"
2218
1987
  },
2219
- "privacy": "public",
2220
- "description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
1988
+ "description": "This option can be used to select a Data Server index (defined in the Data Server query),\nwhich is especially useful if you want the data to be sorted in a specific way. By default,\nData Server rows are returned in order of creation (from oldest database record to newest).",
1989
+ "fieldName": "orderBy",
2221
1990
  "inheritedFrom": {
2222
- "name": "FoundationElement",
2223
- "module": "src/foundation-element/foundation-element.ts"
1991
+ "name": "BaseDatasource",
1992
+ "module": "src/utils/base-datasource.ts"
2224
1993
  }
2225
1994
  },
2226
1995
  {
2227
- "kind": "field",
2228
- "name": "template",
2229
1996
  "type": {
2230
- "text": "ElementViewTemplate | void | null"
1997
+ "text": "boolean"
2231
1998
  },
2232
- "privacy": "public",
2233
- "description": "Sets the template of the element instance. When undefined,\nthe element will attempt to resolve the template from\nthe associated presentation or custom element definition.",
1999
+ "default": "true",
2000
+ "fieldName": "reduced",
2234
2001
  "inheritedFrom": {
2235
- "name": "FoundationElement",
2236
- "module": "src/foundation-element/foundation-element.ts"
2237
- }
2002
+ "name": "BaseDatasource",
2003
+ "module": "src/utils/base-datasource.ts"
2004
+ },
2005
+ "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2238
2006
  },
2239
2007
  {
2240
- "kind": "method",
2241
- "name": "templateChanged",
2242
- "privacy": "protected",
2243
- "return": {
2244
- "type": {
2245
- "text": "void"
2246
- }
2008
+ "name": "rowId",
2009
+ "type": {
2010
+ "text": "string"
2247
2011
  },
2012
+ "description": "Explicit override for the field that uniquely identifies a row. Leave unset to derive it\nfrom the resource type (`ROW_REF` for DATASERVER, `RECORD_ID` for request/reply) via the\ninherited `effectiveRowId`.",
2013
+ "fieldName": "rowId",
2248
2014
  "inheritedFrom": {
2249
- "name": "FoundationElement",
2250
- "module": "src/foundation-element/foundation-element.ts"
2015
+ "name": "BaseDatasource",
2016
+ "module": "src/utils/base-datasource.ts"
2251
2017
  }
2252
2018
  },
2253
2019
  {
2254
- "kind": "field",
2255
- "name": "styles",
2020
+ "name": "fields",
2256
2021
  "type": {
2257
- "text": "ElementStyles | void | null"
2022
+ "text": "string"
2258
2023
  },
2259
- "privacy": "public",
2260
- "description": "Sets the default styles for the element instance. When undefined,\nthe element will attempt to resolve default styles from\nthe associated presentation or custom element definition.",
2024
+ "fieldName": "fields",
2261
2025
  "inheritedFrom": {
2262
- "name": "FoundationElement",
2263
- "module": "src/foundation-element/foundation-element.ts"
2026
+ "name": "BaseDatasource",
2027
+ "module": "src/utils/base-datasource.ts"
2264
2028
  }
2265
2029
  },
2266
2030
  {
2267
- "kind": "method",
2268
- "name": "stylesChanged",
2269
- "privacy": "protected",
2270
- "return": {
2271
- "type": {
2272
- "text": "void"
2273
- }
2031
+ "name": "request",
2032
+ "type": {
2033
+ "text": "any"
2274
2034
  },
2035
+ "fieldName": "request",
2275
2036
  "inheritedFrom": {
2276
- "name": "FoundationElement",
2277
- "module": "src/foundation-element/foundation-element.ts"
2037
+ "name": "BaseDatasource",
2038
+ "module": "src/utils/base-datasource.ts"
2039
+ }
2040
+ }
2041
+ ],
2042
+ "mixins": [
2043
+ {
2044
+ "name": "LifecycleMixin",
2045
+ "package": "@genesislcap/foundation-utils"
2046
+ }
2047
+ ],
2048
+ "superclass": {
2049
+ "name": "ConcreteDatasource",
2050
+ "module": "src/chart-datasource/chart-datasource.ts"
2051
+ },
2052
+ "tagName": "chart-datasource",
2053
+ "customElement": true
2054
+ }
2055
+ ],
2056
+ "exports": [
2057
+ {
2058
+ "kind": "js",
2059
+ "name": "defaultChartFields",
2060
+ "declaration": {
2061
+ "name": "defaultChartFields",
2062
+ "module": "src/chart-datasource/chart-datasource.ts"
2063
+ }
2064
+ },
2065
+ {
2066
+ "kind": "js",
2067
+ "name": "defaultSeriesChartField",
2068
+ "declaration": {
2069
+ "name": "defaultSeriesChartField",
2070
+ "module": "src/chart-datasource/chart-datasource.ts"
2071
+ }
2072
+ },
2073
+ {
2074
+ "kind": "js",
2075
+ "name": "ChartDatasource",
2076
+ "declaration": {
2077
+ "name": "ChartDatasource",
2078
+ "module": "src/chart-datasource/chart-datasource.ts"
2079
+ }
2080
+ },
2081
+ {
2082
+ "kind": "custom-element-definition",
2083
+ "name": "chart-datasource",
2084
+ "declaration": {
2085
+ "name": "ChartDatasource",
2086
+ "module": "src/chart-datasource/chart-datasource.ts"
2087
+ }
2088
+ }
2089
+ ]
2090
+ },
2091
+ {
2092
+ "kind": "javascript-module",
2093
+ "path": "src/chart-datasource/chart-datasource.types.ts",
2094
+ "declarations": [],
2095
+ "exports": []
2096
+ },
2097
+ {
2098
+ "kind": "javascript-module",
2099
+ "path": "src/chart-datasource/chart-datasource.utils.ts",
2100
+ "declarations": [
2101
+ {
2102
+ "kind": "function",
2103
+ "name": "extractFields",
2104
+ "parameters": [
2105
+ {
2106
+ "name": "fields"
2107
+ }
2108
+ ]
2109
+ },
2110
+ {
2111
+ "kind": "function",
2112
+ "name": "getNormalizedFieldValue",
2113
+ "parameters": [
2114
+ {
2115
+ "name": "fieldValue",
2116
+ "type": {
2117
+ "text": "any"
2278
2118
  }
2279
2119
  },
2280
2120
  {
2281
- "kind": "method",
2282
- "name": "compose",
2283
- "privacy": "public",
2284
- "static": true,
2285
- "return": {
2286
- "type": {
2287
- "text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
2288
- }
2289
- },
2290
- "parameters": [
2291
- {
2292
- "name": "this",
2293
- "type": {
2294
- "text": "K"
2295
- }
2296
- },
2297
- {
2298
- "name": "elementDefinition",
2299
- "type": {
2300
- "text": "T"
2301
- },
2302
- "description": "The definition of the element to create the registry\nfunction for."
2303
- }
2304
- ],
2305
- "description": "Defines an element registry function with a set of element definition defaults.",
2306
- "inheritedFrom": {
2307
- "name": "FoundationElement",
2308
- "module": "src/foundation-element/foundation-element.ts"
2121
+ "name": "fieldType",
2122
+ "optional": true,
2123
+ "type": {
2124
+ "text": "FieldTypeEnum"
2309
2125
  }
2310
2126
  }
2311
2127
  ],
2312
- "events": [
2313
- {
2314
- "description": "Fired when configuration or data loading fails fatally. detail: `ChartDatasourceErrorEventDetail`",
2315
- "name": "datasource-error"
2316
- }
2317
- ],
2318
- "attributes": [
2128
+ "description": "Normalizes a server field value before it's handed to the chart.\n\nBIGDECIMAL fields are serialized by the server as strings to preserve\nprecision, while INT/LONG/DOUBLE arrive as JSON numbers. G2Plot needs real\nnumbers for its scales, and getReduced sums values with `+=`, which\nwould concatenate strings. Any NUMBER-typed field whose value arrives as a\nnumeric string is therefore converted with `Number()`.\n\nValues that don't parse to a finite number (and fields of any other type)\nare returned untouched.",
2129
+ "privacy": "public"
2130
+ },
2131
+ {
2132
+ "kind": "function",
2133
+ "name": "getFormattedDateGroupBy",
2134
+ "parameters": [
2319
2135
  {
2320
- "name": "chart-fields",
2136
+ "name": "groupByFieldValue",
2321
2137
  "type": {
2322
- "text": "string"
2323
- },
2324
- "default": "defaultChartFields",
2325
- "description": "Default value is 'groupBy value'. Can be customized but order matters.\n\n[Mandatory] First is always the xField/colorField\n[Mandatory] Second is always the yField/angleField\n[Optional] Third is always the seriesField",
2326
- "resolveInitializer": {
2327
- "module": "src/chart-datasource/chart-datasource.ts"
2328
- },
2329
- "fieldName": "chartFields"
2138
+ "text": "any"
2139
+ }
2330
2140
  },
2331
2141
  {
2332
- "name": "server-fields",
2142
+ "name": "fieldType",
2333
2143
  "type": {
2334
- "text": "string"
2335
- },
2336
- "description": "Can be customized but order matters.\n\n[Mandatory] First will be associated to the first value in 'chartFields' (xField/colorField)\n[Mandatory] Second will be associated to the second value in 'chartFields' (yField/angleField)\n[Optional] Third will be associated to the third value in 'chartFields' (seriesField)",
2337
- "fieldName": "serverFields"
2144
+ "text": "FieldTypeEnum"
2145
+ }
2338
2146
  },
2339
2147
  {
2340
- "name": "is-stack",
2148
+ "name": "showTime",
2149
+ "optional": true,
2341
2150
  "type": {
2342
2151
  "text": "boolean"
2343
- },
2344
- "default": "false",
2345
- "description": "If true, will enable stacked chart to effectively portray comparisons of total values across several categories.",
2346
- "fieldName": "isStack"
2347
- },
2152
+ }
2153
+ }
2154
+ ]
2155
+ },
2156
+ {
2157
+ "kind": "function",
2158
+ "name": "getReduced",
2159
+ "return": {
2160
+ "type": {
2161
+ "text": "any[]"
2162
+ }
2163
+ },
2164
+ "parameters": [
2348
2165
  {
2349
- "name": "is-group",
2166
+ "name": "allRows",
2350
2167
  "type": {
2351
- "text": "boolean"
2352
- },
2353
- "default": "false",
2354
- "description": "If true, will enable grouped chart plotting numeric values for levels of two categorical variables instead of one.",
2355
- "fieldName": "isGroup"
2168
+ "text": "any[]"
2169
+ }
2356
2170
  },
2357
2171
  {
2172
+ "name": "groupByField",
2358
2173
  "type": {
2359
- "text": "boolean"
2360
- },
2361
- "default": "true",
2362
- "fieldName": "reduced",
2363
- "inheritedFrom": {
2364
- "name": "BaseDatasource",
2365
- "module": "src/utils/base-datasource.ts"
2366
- },
2367
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2174
+ "text": "string"
2175
+ }
2368
2176
  },
2369
2177
  {
2370
- "name": "show-formatted-time",
2178
+ "name": "valueField",
2371
2179
  "type": {
2372
- "text": "boolean"
2373
- },
2374
- "default": "false",
2375
- "description": "Only works if [withTimestampFormatting] is true.\n\nDisabled by default, will ignore the TIME portion in the Chart labels.\nOnly affects [DATETIME] fields.",
2376
- "fieldName": "showFormattedTime"
2180
+ "text": "string"
2181
+ }
2377
2182
  },
2378
2183
  {
2379
- "name": "with-timestamp-formatting",
2184
+ "name": "seriesField",
2185
+ "optional": true,
2380
2186
  "type": {
2381
- "text": "boolean"
2382
- },
2383
- "default": "true",
2384
- "description": "Enabled by default, will format UNIX timestamp fields to readable [DATE|DATETIME] values.",
2385
- "fieldName": "withTimestampFormatting",
2386
- "inheritedFrom": {
2387
- "name": "BaseDatasource",
2388
- "module": "src/utils/base-datasource.ts"
2187
+ "text": "string"
2389
2188
  }
2390
- },
2189
+ }
2190
+ ]
2191
+ }
2192
+ ],
2193
+ "exports": [
2194
+ {
2195
+ "kind": "js",
2196
+ "name": "extractFields",
2197
+ "declaration": {
2198
+ "name": "extractFields",
2199
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2200
+ }
2201
+ },
2202
+ {
2203
+ "kind": "js",
2204
+ "name": "getNormalizedFieldValue",
2205
+ "declaration": {
2206
+ "name": "getNormalizedFieldValue",
2207
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2208
+ }
2209
+ },
2210
+ {
2211
+ "kind": "js",
2212
+ "name": "getFormattedDateGroupBy",
2213
+ "declaration": {
2214
+ "name": "getFormattedDateGroupBy",
2215
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2216
+ }
2217
+ },
2218
+ {
2219
+ "kind": "js",
2220
+ "name": "getReduced",
2221
+ "declaration": {
2222
+ "name": "getReduced",
2223
+ "module": "src/chart-datasource/chart-datasource.utils.ts"
2224
+ }
2225
+ }
2226
+ ]
2227
+ },
2228
+ {
2229
+ "kind": "javascript-module",
2230
+ "path": "src/chart-datasource/index.ts",
2231
+ "declarations": [],
2232
+ "exports": [
2233
+ {
2234
+ "kind": "js",
2235
+ "name": "*",
2236
+ "declaration": {
2237
+ "name": "*",
2238
+ "package": "./chart-datasource.config"
2239
+ }
2240
+ },
2241
+ {
2242
+ "kind": "js",
2243
+ "name": "*",
2244
+ "declaration": {
2245
+ "name": "*",
2246
+ "package": "./chart-datasource.types"
2247
+ }
2248
+ },
2249
+ {
2250
+ "kind": "js",
2251
+ "name": "*",
2252
+ "declaration": {
2253
+ "name": "*",
2254
+ "package": "./chart-datasource"
2255
+ }
2256
+ }
2257
+ ]
2258
+ },
2259
+ {
2260
+ "kind": "javascript-module",
2261
+ "path": "src/models/area-chart.ts",
2262
+ "declarations": [
2263
+ {
2264
+ "kind": "function",
2265
+ "name": "AreaChart",
2266
+ "parameters": [
2391
2267
  {
2392
- "name": "resourceName",
2268
+ "name": "container",
2393
2269
  "type": {
2394
- "text": "string"
2395
- },
2396
- "default": "''",
2397
- "fieldName": "resourceName",
2398
- "inheritedFrom": {
2399
- "name": "BaseDatasource",
2400
- "module": "src/utils/base-datasource.ts"
2401
- },
2402
- "description": "Name of the backend resource which contain the data."
2270
+ "text": "HTMLElement"
2271
+ }
2403
2272
  },
2404
2273
  {
2405
- "name": "criteria",
2274
+ "name": "config",
2406
2275
  "type": {
2407
- "text": "string"
2408
- },
2409
- "fieldName": "criteria",
2410
- "inheritedFrom": {
2411
- "name": "BaseDatasource",
2412
- "module": "src/utils/base-datasource.ts"
2413
- },
2414
- "description": "Clients can send a Groovy expression to perform filters on the query server,\nthese remain active for the life of the subscription."
2415
- },
2276
+ "text": "AreaOptions"
2277
+ }
2278
+ }
2279
+ ]
2280
+ }
2281
+ ],
2282
+ "exports": [
2283
+ {
2284
+ "kind": "js",
2285
+ "name": "AreaChart",
2286
+ "declaration": {
2287
+ "name": "AreaChart",
2288
+ "module": "src/models/area-chart.ts"
2289
+ }
2290
+ }
2291
+ ]
2292
+ },
2293
+ {
2294
+ "kind": "javascript-module",
2295
+ "path": "src/models/bar-chart.ts",
2296
+ "declarations": [
2297
+ {
2298
+ "kind": "function",
2299
+ "name": "BarChart",
2300
+ "parameters": [
2416
2301
  {
2302
+ "name": "container",
2417
2303
  "type": {
2418
- "text": "boolean"
2419
- },
2420
- "default": "true",
2421
- "fieldName": "reduced",
2422
- "inheritedFrom": {
2423
- "name": "BaseDatasource",
2424
- "module": "src/utils/base-datasource.ts"
2425
- },
2426
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2304
+ "text": "HTMLElement"
2305
+ }
2427
2306
  },
2428
2307
  {
2429
- "name": "maxRows",
2308
+ "name": "config",
2430
2309
  "type": {
2431
- "text": "number"
2432
- },
2433
- "fieldName": "maxRows",
2434
- "inheritedFrom": {
2435
- "name": "BaseDatasource",
2436
- "module": "src/utils/base-datasource.ts"
2437
- },
2438
- "description": "Maximum number of rows to be returned as part of the initial message,\nand as part of any additional MORE_ROWS messages.\nThis will not affect the number of rows displayed."
2439
- },
2310
+ "text": "BarOptions"
2311
+ }
2312
+ }
2313
+ ]
2314
+ }
2315
+ ],
2316
+ "exports": [
2317
+ {
2318
+ "kind": "js",
2319
+ "name": "BarChart",
2320
+ "declaration": {
2321
+ "name": "BarChart",
2322
+ "module": "src/models/bar-chart.ts"
2323
+ }
2324
+ }
2325
+ ]
2326
+ },
2327
+ {
2328
+ "kind": "javascript-module",
2329
+ "path": "src/models/column-chart.ts",
2330
+ "declarations": [
2331
+ {
2332
+ "kind": "function",
2333
+ "name": "ColumnChart",
2334
+ "parameters": [
2440
2335
  {
2441
- "name": "maxView",
2336
+ "name": "container",
2442
2337
  "type": {
2443
- "text": "number"
2444
- },
2445
- "fieldName": "maxView",
2446
- "inheritedFrom": {
2447
- "name": "BaseDatasource",
2448
- "module": "src/utils/base-datasource.ts"
2449
- },
2450
- "description": "Maximum number of rows to track as part of a client \"view\"."
2338
+ "text": "HTMLElement"
2339
+ }
2451
2340
  },
2452
2341
  {
2453
- "name": "orderBy",
2342
+ "name": "config",
2454
2343
  "type": {
2455
- "text": "string"
2456
- },
2457
- "description": "This option can be used to select a Data Server index (defined in the Data Server query),\nwhich is especially useful if you want the data to be sorted in a specific way. By default,\nData Server rows are returned in order of creation (from oldest database record to newest).",
2458
- "fieldName": "orderBy",
2459
- "inheritedFrom": {
2460
- "name": "BaseDatasource",
2461
- "module": "src/utils/base-datasource.ts"
2344
+ "text": "ColumnOptions"
2462
2345
  }
2463
- },
2346
+ }
2347
+ ]
2348
+ }
2349
+ ],
2350
+ "exports": [
2351
+ {
2352
+ "kind": "js",
2353
+ "name": "ColumnChart",
2354
+ "declaration": {
2355
+ "name": "ColumnChart",
2356
+ "module": "src/models/column-chart.ts"
2357
+ }
2358
+ }
2359
+ ]
2360
+ },
2361
+ {
2362
+ "kind": "javascript-module",
2363
+ "path": "src/models/donut-chart.ts",
2364
+ "declarations": [
2365
+ {
2366
+ "kind": "function",
2367
+ "name": "DonutChart",
2368
+ "parameters": [
2464
2369
  {
2370
+ "name": "container",
2465
2371
  "type": {
2466
- "text": "boolean"
2467
- },
2468
- "default": "true",
2469
- "fieldName": "reduced",
2470
- "inheritedFrom": {
2471
- "name": "BaseDatasource",
2472
- "module": "src/utils/base-datasource.ts"
2473
- },
2474
- "description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
2372
+ "text": "HTMLElement"
2373
+ }
2475
2374
  },
2476
2375
  {
2477
- "name": "rowId",
2376
+ "name": "config",
2478
2377
  "type": {
2479
- "text": "string"
2480
- },
2481
- "description": "Explicit override for the field that uniquely identifies a row. Leave unset to derive it\nfrom the resource type (`ROW_REF` for DATASERVER, `RECORD_ID` for request/reply) via the\ninherited `effectiveRowId`.",
2482
- "fieldName": "rowId",
2483
- "inheritedFrom": {
2484
- "name": "BaseDatasource",
2485
- "module": "src/utils/base-datasource.ts"
2378
+ "text": "PieOptions"
2486
2379
  }
2487
- },
2380
+ }
2381
+ ]
2382
+ }
2383
+ ],
2384
+ "exports": [
2385
+ {
2386
+ "kind": "js",
2387
+ "name": "DonutChart",
2388
+ "declaration": {
2389
+ "name": "DonutChart",
2390
+ "module": "src/models/donut-chart.ts"
2391
+ }
2392
+ }
2393
+ ]
2394
+ },
2395
+ {
2396
+ "kind": "javascript-module",
2397
+ "path": "src/models/dual-axes-chart.ts",
2398
+ "declarations": [
2399
+ {
2400
+ "kind": "function",
2401
+ "name": "DualAxesChart",
2402
+ "parameters": [
2488
2403
  {
2489
- "name": "fields",
2404
+ "name": "container",
2490
2405
  "type": {
2491
- "text": "string"
2492
- },
2493
- "fieldName": "fields",
2494
- "inheritedFrom": {
2495
- "name": "BaseDatasource",
2496
- "module": "src/utils/base-datasource.ts"
2406
+ "text": "HTMLElement"
2497
2407
  }
2498
2408
  },
2499
2409
  {
2500
- "name": "request",
2410
+ "name": "config",
2501
2411
  "type": {
2502
- "text": "any"
2503
- },
2504
- "fieldName": "request",
2505
- "inheritedFrom": {
2506
- "name": "BaseDatasource",
2507
- "module": "src/utils/base-datasource.ts"
2412
+ "text": "DualAxesOptions"
2508
2413
  }
2509
2414
  }
2510
- ],
2511
- "mixins": [
2512
- {
2513
- "name": "LifecycleMixin",
2514
- "package": "@genesislcap/foundation-utils"
2515
- }
2516
- ],
2517
- "superclass": {
2518
- "name": "ConcreteDatasource",
2519
- "module": "src/chart-datasource/chart-datasource.ts"
2520
- },
2521
- "tagName": "chart-datasource",
2522
- "customElement": true
2415
+ ]
2523
2416
  }
2524
2417
  ],
2525
2418
  "exports": [
2526
2419
  {
2527
2420
  "kind": "js",
2528
- "name": "defaultChartFields",
2421
+ "name": "DualAxesChart",
2422
+ "declaration": {
2423
+ "name": "DualAxesChart",
2424
+ "module": "src/models/dual-axes-chart.ts"
2425
+ }
2426
+ }
2427
+ ]
2428
+ },
2429
+ {
2430
+ "kind": "javascript-module",
2431
+ "path": "src/models/index.ts",
2432
+ "declarations": [],
2433
+ "exports": [
2434
+ {
2435
+ "kind": "js",
2436
+ "name": "*",
2437
+ "declaration": {
2438
+ "name": "*",
2439
+ "package": "./area-chart"
2440
+ }
2441
+ },
2442
+ {
2443
+ "kind": "js",
2444
+ "name": "*",
2445
+ "declaration": {
2446
+ "name": "*",
2447
+ "package": "./bar-chart"
2448
+ }
2449
+ },
2450
+ {
2451
+ "kind": "js",
2452
+ "name": "*",
2453
+ "declaration": {
2454
+ "name": "*",
2455
+ "package": "./column-chart"
2456
+ }
2457
+ },
2458
+ {
2459
+ "kind": "js",
2460
+ "name": "*",
2461
+ "declaration": {
2462
+ "name": "*",
2463
+ "package": "./donut-chart"
2464
+ }
2465
+ },
2466
+ {
2467
+ "kind": "js",
2468
+ "name": "*",
2469
+ "declaration": {
2470
+ "name": "*",
2471
+ "package": "./dual-axes-chart"
2472
+ }
2473
+ },
2474
+ {
2475
+ "kind": "js",
2476
+ "name": "*",
2477
+ "declaration": {
2478
+ "name": "*",
2479
+ "package": "./line-chart"
2480
+ }
2481
+ },
2482
+ {
2483
+ "kind": "js",
2484
+ "name": "*",
2485
+ "declaration": {
2486
+ "name": "*",
2487
+ "package": "./mix-chart"
2488
+ }
2489
+ },
2490
+ {
2491
+ "kind": "js",
2492
+ "name": "*",
2529
2493
  "declaration": {
2530
- "name": "defaultChartFields",
2531
- "module": "src/chart-datasource/chart-datasource.ts"
2494
+ "name": "*",
2495
+ "package": "./pie-chart"
2532
2496
  }
2533
2497
  },
2534
2498
  {
2535
2499
  "kind": "js",
2536
- "name": "defaultSeriesChartField",
2500
+ "name": "*",
2537
2501
  "declaration": {
2538
- "name": "defaultSeriesChartField",
2539
- "module": "src/chart-datasource/chart-datasource.ts"
2502
+ "name": "*",
2503
+ "package": "./rose-chart"
2540
2504
  }
2541
2505
  },
2542
2506
  {
2543
2507
  "kind": "js",
2544
- "name": "ChartDatasource",
2508
+ "name": "*",
2545
2509
  "declaration": {
2546
- "name": "ChartDatasource",
2547
- "module": "src/chart-datasource/chart-datasource.ts"
2510
+ "name": "*",
2511
+ "package": "./scatter-chart"
2548
2512
  }
2549
2513
  },
2550
2514
  {
2551
- "kind": "custom-element-definition",
2552
- "name": "chart-datasource",
2515
+ "kind": "js",
2516
+ "name": "*",
2553
2517
  "declaration": {
2554
- "name": "ChartDatasource",
2555
- "module": "src/chart-datasource/chart-datasource.ts"
2518
+ "name": "*",
2519
+ "package": "./stock-chart"
2556
2520
  }
2557
2521
  }
2558
2522
  ]
2559
2523
  },
2560
2524
  {
2561
2525
  "kind": "javascript-module",
2562
- "path": "src/chart-datasource/chart-datasource.types.ts",
2563
- "declarations": [],
2564
- "exports": []
2565
- },
2566
- {
2567
- "kind": "javascript-module",
2568
- "path": "src/chart-datasource/chart-datasource.utils.ts",
2526
+ "path": "src/models/line-chart.ts",
2569
2527
  "declarations": [
2570
2528
  {
2571
2529
  "kind": "function",
2572
- "name": "extractFields",
2530
+ "name": "LineChart",
2573
2531
  "parameters": [
2574
2532
  {
2575
- "name": "fields"
2533
+ "name": "container",
2534
+ "type": {
2535
+ "text": "HTMLElement"
2536
+ }
2537
+ },
2538
+ {
2539
+ "name": "config",
2540
+ "type": {
2541
+ "text": "LineOptions"
2542
+ }
2576
2543
  }
2577
2544
  ]
2578
- },
2545
+ }
2546
+ ],
2547
+ "exports": [
2548
+ {
2549
+ "kind": "js",
2550
+ "name": "LineChart",
2551
+ "declaration": {
2552
+ "name": "LineChart",
2553
+ "module": "src/models/line-chart.ts"
2554
+ }
2555
+ }
2556
+ ]
2557
+ },
2558
+ {
2559
+ "kind": "javascript-module",
2560
+ "path": "src/models/mix-chart.ts",
2561
+ "declarations": [
2579
2562
  {
2580
2563
  "kind": "function",
2581
- "name": "getNormalizedFieldValue",
2564
+ "name": "MixChart",
2582
2565
  "parameters": [
2583
2566
  {
2584
- "name": "fieldValue",
2567
+ "name": "container",
2585
2568
  "type": {
2586
- "text": "any"
2569
+ "text": "HTMLElement"
2587
2570
  }
2588
2571
  },
2589
2572
  {
2590
- "name": "fieldType",
2591
- "optional": true,
2573
+ "name": "config",
2592
2574
  "type": {
2593
- "text": "FieldTypeEnum"
2575
+ "text": "MixOptions"
2594
2576
  }
2595
2577
  }
2596
- ],
2597
- "description": "Normalizes a server field value before it's handed to the chart.\n\nBIGDECIMAL fields are serialized by the server as strings to preserve\nprecision, while INT/LONG/DOUBLE arrive as JSON numbers. G2Plot needs real\nnumbers for its scales, and getReduced sums values with `+=`, which\nwould concatenate strings. Any NUMBER-typed field whose value arrives as a\nnumeric string is therefore converted with `Number()`.\n\nValues that don't parse to a finite number (and fields of any other type)\nare returned untouched.",
2598
- "privacy": "public"
2599
- },
2578
+ ]
2579
+ }
2580
+ ],
2581
+ "exports": [
2582
+ {
2583
+ "kind": "js",
2584
+ "name": "MixChart",
2585
+ "declaration": {
2586
+ "name": "MixChart",
2587
+ "module": "src/models/mix-chart.ts"
2588
+ }
2589
+ }
2590
+ ]
2591
+ },
2592
+ {
2593
+ "kind": "javascript-module",
2594
+ "path": "src/models/pie-chart.ts",
2595
+ "declarations": [
2600
2596
  {
2601
2597
  "kind": "function",
2602
- "name": "getFormattedDateGroupBy",
2598
+ "name": "PieChart",
2603
2599
  "parameters": [
2604
2600
  {
2605
- "name": "groupByFieldValue",
2606
- "type": {
2607
- "text": "any"
2608
- }
2609
- },
2610
- {
2611
- "name": "fieldType",
2601
+ "name": "container",
2612
2602
  "type": {
2613
- "text": "FieldTypeEnum"
2603
+ "text": "HTMLElement"
2614
2604
  }
2615
2605
  },
2616
2606
  {
2617
- "name": "showTime",
2618
- "optional": true,
2607
+ "name": "config",
2619
2608
  "type": {
2620
- "text": "boolean"
2609
+ "text": "PieOptions"
2621
2610
  }
2622
2611
  }
2623
2612
  ]
2624
- },
2613
+ }
2614
+ ],
2615
+ "exports": [
2616
+ {
2617
+ "kind": "js",
2618
+ "name": "PieChart",
2619
+ "declaration": {
2620
+ "name": "PieChart",
2621
+ "module": "src/models/pie-chart.ts"
2622
+ }
2623
+ }
2624
+ ]
2625
+ },
2626
+ {
2627
+ "kind": "javascript-module",
2628
+ "path": "src/models/rose-chart.ts",
2629
+ "declarations": [
2625
2630
  {
2626
2631
  "kind": "function",
2627
- "name": "getReduced",
2628
- "return": {
2629
- "type": {
2630
- "text": "any[]"
2631
- }
2632
- },
2632
+ "name": "RoseChart",
2633
2633
  "parameters": [
2634
2634
  {
2635
- "name": "allRows",
2635
+ "name": "container",
2636
2636
  "type": {
2637
- "text": "any[]"
2637
+ "text": "HTMLElement"
2638
2638
  }
2639
2639
  },
2640
2640
  {
2641
- "name": "groupByField",
2641
+ "name": "config",
2642
2642
  "type": {
2643
- "text": "string"
2643
+ "text": "RoseOptions"
2644
2644
  }
2645
- },
2645
+ }
2646
+ ]
2647
+ }
2648
+ ],
2649
+ "exports": [
2650
+ {
2651
+ "kind": "js",
2652
+ "name": "RoseChart",
2653
+ "declaration": {
2654
+ "name": "RoseChart",
2655
+ "module": "src/models/rose-chart.ts"
2656
+ }
2657
+ }
2658
+ ]
2659
+ },
2660
+ {
2661
+ "kind": "javascript-module",
2662
+ "path": "src/models/scatter-chart.ts",
2663
+ "declarations": [
2664
+ {
2665
+ "kind": "function",
2666
+ "name": "ScatterChart",
2667
+ "parameters": [
2646
2668
  {
2647
- "name": "valueField",
2669
+ "name": "container",
2648
2670
  "type": {
2649
- "text": "string"
2671
+ "text": "HTMLElement"
2650
2672
  }
2651
2673
  },
2652
2674
  {
2653
- "name": "seriesField",
2654
- "optional": true,
2675
+ "name": "config",
2655
2676
  "type": {
2656
- "text": "string"
2677
+ "text": "ScatterOptions"
2657
2678
  }
2658
2679
  }
2659
2680
  ]
@@ -2662,65 +2683,44 @@
2662
2683
  "exports": [
2663
2684
  {
2664
2685
  "kind": "js",
2665
- "name": "extractFields",
2666
- "declaration": {
2667
- "name": "extractFields",
2668
- "module": "src/chart-datasource/chart-datasource.utils.ts"
2669
- }
2670
- },
2671
- {
2672
- "kind": "js",
2673
- "name": "getNormalizedFieldValue",
2674
- "declaration": {
2675
- "name": "getNormalizedFieldValue",
2676
- "module": "src/chart-datasource/chart-datasource.utils.ts"
2677
- }
2678
- },
2679
- {
2680
- "kind": "js",
2681
- "name": "getFormattedDateGroupBy",
2682
- "declaration": {
2683
- "name": "getFormattedDateGroupBy",
2684
- "module": "src/chart-datasource/chart-datasource.utils.ts"
2685
- }
2686
- },
2687
- {
2688
- "kind": "js",
2689
- "name": "getReduced",
2686
+ "name": "ScatterChart",
2690
2687
  "declaration": {
2691
- "name": "getReduced",
2692
- "module": "src/chart-datasource/chart-datasource.utils.ts"
2688
+ "name": "ScatterChart",
2689
+ "module": "src/models/scatter-chart.ts"
2693
2690
  }
2694
2691
  }
2695
2692
  ]
2696
2693
  },
2697
2694
  {
2698
2695
  "kind": "javascript-module",
2699
- "path": "src/chart-datasource/index.ts",
2700
- "declarations": [],
2701
- "exports": [
2702
- {
2703
- "kind": "js",
2704
- "name": "*",
2705
- "declaration": {
2706
- "name": "*",
2707
- "package": "./chart-datasource.config"
2708
- }
2709
- },
2696
+ "path": "src/models/stock-chart.ts",
2697
+ "declarations": [
2710
2698
  {
2711
- "kind": "js",
2712
- "name": "*",
2713
- "declaration": {
2714
- "name": "*",
2715
- "package": "./chart-datasource.types"
2716
- }
2717
- },
2699
+ "kind": "function",
2700
+ "name": "StockChart",
2701
+ "parameters": [
2702
+ {
2703
+ "name": "container",
2704
+ "type": {
2705
+ "text": "HTMLElement"
2706
+ }
2707
+ },
2708
+ {
2709
+ "name": "config",
2710
+ "type": {
2711
+ "text": "StockOptions"
2712
+ }
2713
+ }
2714
+ ]
2715
+ }
2716
+ ],
2717
+ "exports": [
2718
2718
  {
2719
2719
  "kind": "js",
2720
- "name": "*",
2720
+ "name": "StockChart",
2721
2721
  "declaration": {
2722
- "name": "*",
2723
- "package": "./chart-datasource"
2722
+ "name": "StockChart",
2723
+ "module": "src/models/stock-chart.ts"
2724
2724
  }
2725
2725
  }
2726
2726
  ]