@genesislcap/g2plot-chart 15.14.2 → 15.15.0-GENC-1511.3
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.
- package/dist/custom-elements.json +1104 -1104
- package/package.json +14 -14
|
@@ -586,171 +586,640 @@
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
"kind": "javascript-module",
|
|
589
|
-
"path": "src/
|
|
589
|
+
"path": "src/models/area-chart.ts",
|
|
590
590
|
"declarations": [
|
|
591
591
|
{
|
|
592
|
-
"kind": "
|
|
593
|
-
"name": "
|
|
594
|
-
"
|
|
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": [
|
|
616
|
-
{
|
|
617
|
-
"kind": "field",
|
|
618
|
-
"name": "chartFields",
|
|
619
|
-
"type": {
|
|
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"
|
|
625
|
-
},
|
|
592
|
+
"kind": "function",
|
|
593
|
+
"name": "AreaChart",
|
|
594
|
+
"parameters": [
|
|
626
595
|
{
|
|
627
|
-
"
|
|
628
|
-
"name": "serverFields",
|
|
596
|
+
"name": "container",
|
|
629
597
|
"type": {
|
|
630
|
-
"text": "
|
|
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"
|
|
598
|
+
"text": "HTMLElement"
|
|
599
|
+
}
|
|
634
600
|
},
|
|
635
601
|
{
|
|
636
|
-
"
|
|
637
|
-
"name": "isStack",
|
|
602
|
+
"name": "config",
|
|
638
603
|
"type": {
|
|
639
|
-
"text": "
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
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": [
|
|
645
629
|
{
|
|
646
|
-
"
|
|
647
|
-
"name": "isGroup",
|
|
630
|
+
"name": "container",
|
|
648
631
|
"type": {
|
|
649
|
-
"text": "
|
|
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"
|
|
632
|
+
"text": "HTMLElement"
|
|
633
|
+
}
|
|
654
634
|
},
|
|
655
635
|
{
|
|
656
|
-
"
|
|
657
|
-
"name": "reduced",
|
|
636
|
+
"name": "config",
|
|
658
637
|
"type": {
|
|
659
|
-
"text": "
|
|
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"
|
|
638
|
+
"text": "BarOptions"
|
|
667
639
|
}
|
|
668
|
-
}
|
|
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": [
|
|
669
663
|
{
|
|
670
|
-
"
|
|
671
|
-
"name": "showFormattedTime",
|
|
664
|
+
"name": "container",
|
|
672
665
|
"type": {
|
|
673
|
-
"text": "
|
|
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"
|
|
666
|
+
"text": "HTMLElement"
|
|
681
667
|
}
|
|
682
668
|
},
|
|
683
669
|
{
|
|
684
|
-
"
|
|
685
|
-
"name": "withTimestampFormatting",
|
|
670
|
+
"name": "config",
|
|
686
671
|
"type": {
|
|
687
|
-
"text": "
|
|
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"
|
|
672
|
+
"text": "ColumnOptions"
|
|
695
673
|
}
|
|
696
|
-
}
|
|
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": [
|
|
697
697
|
{
|
|
698
|
-
"
|
|
699
|
-
"name": "resourceName",
|
|
698
|
+
"name": "container",
|
|
700
699
|
"type": {
|
|
701
|
-
"text": "
|
|
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"
|
|
700
|
+
"text": "HTMLElement"
|
|
701
|
+
}
|
|
710
702
|
},
|
|
711
703
|
{
|
|
712
|
-
"
|
|
713
|
-
"name": "criteria",
|
|
704
|
+
"name": "config",
|
|
714
705
|
"type": {
|
|
715
|
-
"text": "
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
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": [
|
|
724
731
|
{
|
|
725
|
-
"
|
|
726
|
-
"name": "data",
|
|
732
|
+
"name": "container",
|
|
727
733
|
"type": {
|
|
728
|
-
"text": "
|
|
729
|
-
}
|
|
730
|
-
"inheritedFrom": {
|
|
731
|
-
"name": "BaseDatasource",
|
|
732
|
-
"module": "src/utils/base-datasource.ts"
|
|
733
|
-
},
|
|
734
|
-
"description": "Optional attribute that can be used to pass the data that will be used in the component.",
|
|
735
|
-
"privacy": "public"
|
|
734
|
+
"text": "HTMLElement"
|
|
735
|
+
}
|
|
736
736
|
},
|
|
737
737
|
{
|
|
738
|
-
"
|
|
739
|
-
"name": "isSnapshot",
|
|
738
|
+
"name": "config",
|
|
740
739
|
"type": {
|
|
741
|
-
"text": "
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
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",
|
|
1196
|
+
"type": {
|
|
1197
|
+
"text": "any[]"
|
|
1198
|
+
},
|
|
1199
|
+
"inheritedFrom": {
|
|
1200
|
+
"name": "BaseDatasource",
|
|
1201
|
+
"module": "src/utils/base-datasource.ts"
|
|
1202
|
+
},
|
|
1203
|
+
"description": "Optional attribute that can be used to pass the data that will be used in the component.",
|
|
1204
|
+
"privacy": "public"
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"kind": "field",
|
|
1208
|
+
"name": "isSnapshot",
|
|
1209
|
+
"type": {
|
|
1210
|
+
"text": "boolean"
|
|
1211
|
+
},
|
|
1212
|
+
"default": "false",
|
|
1213
|
+
"inheritedFrom": {
|
|
1214
|
+
"name": "BaseDatasource",
|
|
1215
|
+
"module": "src/utils/base-datasource.ts"
|
|
1216
|
+
},
|
|
1217
|
+
"description": "Request a snapshot from the server.",
|
|
1218
|
+
"privacy": "public"
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
"kind": "field",
|
|
1222
|
+
"name": "maxRows",
|
|
754
1223
|
"type": {
|
|
755
1224
|
"text": "number"
|
|
756
1225
|
},
|
|
@@ -1452,195 +1921,7 @@
|
|
|
1452
1921
|
"text": "boolean"
|
|
1453
1922
|
}
|
|
1454
1923
|
},
|
|
1455
|
-
"description": "Whether a further page of rows can be requested from the server.",
|
|
1456
|
-
"inheritedFrom": {
|
|
1457
|
-
"name": "BaseDatasource",
|
|
1458
|
-
"module": "src/utils/base-datasource.ts"
|
|
1459
|
-
}
|
|
1460
|
-
},
|
|
1461
|
-
{
|
|
1462
|
-
"kind": "method",
|
|
1463
|
-
"name": "requestMoreRows",
|
|
1464
|
-
"privacy": "public",
|
|
1465
|
-
"return": {
|
|
1466
|
-
"type": {
|
|
1467
|
-
"text": "Promise<void>"
|
|
1468
|
-
}
|
|
1469
|
-
},
|
|
1470
|
-
"description": "Requests the next page of rows (up to `maxRows`) from the server.",
|
|
1471
|
-
"inheritedFrom": {
|
|
1472
|
-
"name": "BaseDatasource",
|
|
1473
|
-
"module": "src/utils/base-datasource.ts"
|
|
1474
|
-
}
|
|
1475
|
-
},
|
|
1476
|
-
{
|
|
1477
|
-
"kind": "method",
|
|
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",
|
|
1615
|
-
"privacy": "private",
|
|
1616
|
-
"return": {
|
|
1617
|
-
"type": {
|
|
1618
|
-
"text": "string"
|
|
1619
|
-
}
|
|
1620
|
-
},
|
|
1621
|
-
"inheritedFrom": {
|
|
1622
|
-
"name": "BaseDatasource",
|
|
1623
|
-
"module": "src/utils/base-datasource.ts"
|
|
1624
|
-
}
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
"kind": "method",
|
|
1628
|
-
"name": "setFilter",
|
|
1629
|
-
"privacy": "public",
|
|
1630
|
-
"parameters": [
|
|
1631
|
-
{
|
|
1632
|
-
"name": "fieldName",
|
|
1633
|
-
"type": {
|
|
1634
|
-
"text": "string"
|
|
1635
|
-
}
|
|
1636
|
-
},
|
|
1637
|
-
{
|
|
1638
|
-
"name": "newFilter",
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": "string"
|
|
1641
|
-
}
|
|
1642
|
-
}
|
|
1643
|
-
],
|
|
1924
|
+
"description": "Whether a further page of rows can be requested from the server.",
|
|
1644
1925
|
"inheritedFrom": {
|
|
1645
1926
|
"name": "BaseDatasource",
|
|
1646
1927
|
"module": "src/utils/base-datasource.ts"
|
|
@@ -1648,16 +1929,14 @@
|
|
|
1648
1929
|
},
|
|
1649
1930
|
{
|
|
1650
1931
|
"kind": "method",
|
|
1651
|
-
"name": "
|
|
1932
|
+
"name": "requestMoreRows",
|
|
1652
1933
|
"privacy": "public",
|
|
1653
|
-
"
|
|
1654
|
-
{
|
|
1655
|
-
"
|
|
1656
|
-
"type": {
|
|
1657
|
-
"text": "string"
|
|
1658
|
-
}
|
|
1934
|
+
"return": {
|
|
1935
|
+
"type": {
|
|
1936
|
+
"text": "Promise<void>"
|
|
1659
1937
|
}
|
|
1660
|
-
|
|
1938
|
+
},
|
|
1939
|
+
"description": "Requests the next page of rows (up to `maxRows`) from the server.",
|
|
1661
1940
|
"inheritedFrom": {
|
|
1662
1941
|
"name": "BaseDatasource",
|
|
1663
1942
|
"module": "src/utils/base-datasource.ts"
|
|
@@ -1665,21 +1944,22 @@
|
|
|
1665
1944
|
},
|
|
1666
1945
|
{
|
|
1667
1946
|
"kind": "method",
|
|
1668
|
-
"name": "
|
|
1947
|
+
"name": "filterSnapshotResult",
|
|
1948
|
+
"privacy": "private",
|
|
1669
1949
|
"return": {
|
|
1670
1950
|
"type": {
|
|
1671
|
-
"text": "
|
|
1951
|
+
"text": "any[] | undefined"
|
|
1672
1952
|
}
|
|
1673
1953
|
},
|
|
1674
1954
|
"parameters": [
|
|
1675
1955
|
{
|
|
1676
|
-
"name": "
|
|
1677
|
-
"default": "{}",
|
|
1956
|
+
"name": "result",
|
|
1678
1957
|
"type": {
|
|
1679
|
-
"text": "
|
|
1958
|
+
"text": "Message | any[]"
|
|
1680
1959
|
}
|
|
1681
1960
|
}
|
|
1682
1961
|
],
|
|
1962
|
+
"description": "Row extraction identical to `Datasource.snapshotFiltered`, kept local so the raw\nresponse (with MORE_ROWS/NEXT_OFFSET paging metadata) remains available.",
|
|
1683
1963
|
"inheritedFrom": {
|
|
1684
1964
|
"name": "BaseDatasource",
|
|
1685
1965
|
"module": "src/utils/base-datasource.ts"
|
|
@@ -1687,39 +1967,30 @@
|
|
|
1687
1967
|
},
|
|
1688
1968
|
{
|
|
1689
1969
|
"kind": "method",
|
|
1690
|
-
"name": "
|
|
1970
|
+
"name": "updateRequestPagingState",
|
|
1971
|
+
"privacy": "private",
|
|
1691
1972
|
"return": {
|
|
1692
1973
|
"type": {
|
|
1693
|
-
"text": "
|
|
1974
|
+
"text": "void"
|
|
1694
1975
|
}
|
|
1695
1976
|
},
|
|
1696
1977
|
"parameters": [
|
|
1697
1978
|
{
|
|
1698
|
-
"name": "
|
|
1979
|
+
"name": "result",
|
|
1699
1980
|
"type": {
|
|
1700
|
-
"text": "
|
|
1981
|
+
"text": "Message | any[]"
|
|
1701
1982
|
}
|
|
1702
|
-
}
|
|
1703
|
-
],
|
|
1704
|
-
"inheritedFrom": {
|
|
1705
|
-
"name": "BaseDatasource",
|
|
1706
|
-
"module": "src/utils/base-datasource.ts"
|
|
1707
|
-
}
|
|
1708
|
-
},
|
|
1709
|
-
{
|
|
1710
|
-
"kind": "method",
|
|
1711
|
-
"name": "getDefaultLabelFormat",
|
|
1712
|
-
"parameters": [
|
|
1983
|
+
},
|
|
1713
1984
|
{
|
|
1714
|
-
"name": "
|
|
1985
|
+
"name": "rowCount",
|
|
1715
1986
|
"type": {
|
|
1716
|
-
"text": "
|
|
1987
|
+
"text": "number"
|
|
1717
1988
|
}
|
|
1718
1989
|
},
|
|
1719
1990
|
{
|
|
1720
|
-
"name": "
|
|
1991
|
+
"name": "requestedOffset",
|
|
1721
1992
|
"type": {
|
|
1722
|
-
"text": "
|
|
1993
|
+
"text": "number"
|
|
1723
1994
|
}
|
|
1724
1995
|
}
|
|
1725
1996
|
],
|
|
@@ -1729,952 +2000,660 @@
|
|
|
1729
2000
|
}
|
|
1730
2001
|
},
|
|
1731
2002
|
{
|
|
1732
|
-
"kind": "
|
|
1733
|
-
"name": "
|
|
1734
|
-
"type": {
|
|
1735
|
-
"text": "ComponentPresentation | null | undefined"
|
|
1736
|
-
},
|
|
2003
|
+
"kind": "method",
|
|
2004
|
+
"name": "initialRequestOffset",
|
|
1737
2005
|
"privacy": "private",
|
|
1738
|
-
"
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
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"
|
|
2006
|
+
"return": {
|
|
2007
|
+
"type": {
|
|
2008
|
+
"text": "number"
|
|
2009
|
+
}
|
|
1762
2010
|
},
|
|
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
2011
|
"inheritedFrom": {
|
|
1766
|
-
"name": "
|
|
1767
|
-
"module": "src/
|
|
2012
|
+
"name": "BaseDatasource",
|
|
2013
|
+
"module": "src/utils/base-datasource.ts"
|
|
1768
2014
|
}
|
|
1769
2015
|
},
|
|
1770
2016
|
{
|
|
1771
2017
|
"kind": "method",
|
|
1772
|
-
"name": "
|
|
1773
|
-
"privacy": "
|
|
2018
|
+
"name": "datasourceOptions",
|
|
2019
|
+
"privacy": "private",
|
|
1774
2020
|
"return": {
|
|
1775
2021
|
"type": {
|
|
1776
|
-
"text": "
|
|
2022
|
+
"text": "DatasourceOptions"
|
|
1777
2023
|
}
|
|
1778
2024
|
},
|
|
1779
2025
|
"inheritedFrom": {
|
|
1780
|
-
"name": "
|
|
1781
|
-
"module": "src/
|
|
2026
|
+
"name": "BaseDatasource",
|
|
2027
|
+
"module": "src/utils/base-datasource.ts"
|
|
1782
2028
|
}
|
|
1783
2029
|
},
|
|
1784
2030
|
{
|
|
1785
|
-
"kind": "
|
|
1786
|
-
"name": "
|
|
1787
|
-
"
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
2031
|
+
"kind": "method",
|
|
2032
|
+
"name": "handleStreamUpdate",
|
|
2033
|
+
"privacy": "private",
|
|
2034
|
+
"parameters": [
|
|
2035
|
+
{
|
|
2036
|
+
"name": "result",
|
|
2037
|
+
"type": {
|
|
2038
|
+
"text": "FilteredDataServerResult | RequestServerResult"
|
|
2039
|
+
}
|
|
2040
|
+
}
|
|
2041
|
+
],
|
|
1792
2042
|
"inheritedFrom": {
|
|
1793
|
-
"name": "
|
|
1794
|
-
"module": "src/
|
|
2043
|
+
"name": "BaseDatasource",
|
|
2044
|
+
"module": "src/utils/base-datasource.ts"
|
|
1795
2045
|
}
|
|
1796
2046
|
},
|
|
1797
2047
|
{
|
|
1798
2048
|
"kind": "method",
|
|
1799
|
-
"name": "
|
|
1800
|
-
"privacy": "
|
|
1801
|
-
"
|
|
1802
|
-
|
|
1803
|
-
"
|
|
2049
|
+
"name": "applyRequestServerData",
|
|
2050
|
+
"privacy": "public",
|
|
2051
|
+
"parameters": [
|
|
2052
|
+
{
|
|
2053
|
+
"name": "requestServerResult",
|
|
2054
|
+
"type": {
|
|
2055
|
+
"text": "RequestServerResult"
|
|
2056
|
+
}
|
|
1804
2057
|
}
|
|
1805
|
-
|
|
2058
|
+
],
|
|
1806
2059
|
"inheritedFrom": {
|
|
1807
|
-
"name": "
|
|
1808
|
-
"module": "src/
|
|
2060
|
+
"name": "BaseDatasource",
|
|
2061
|
+
"module": "src/utils/base-datasource.ts"
|
|
1809
2062
|
}
|
|
1810
2063
|
},
|
|
1811
2064
|
{
|
|
1812
2065
|
"kind": "method",
|
|
1813
|
-
"name": "
|
|
2066
|
+
"name": "applyDataserverData",
|
|
1814
2067
|
"privacy": "public",
|
|
1815
|
-
"static": true,
|
|
1816
|
-
"return": {
|
|
1817
|
-
"type": {
|
|
1818
|
-
"text": "(\n overrideDefinition?: OverrideFoundationElementDefinition<T>\n ) => FoundationElementRegistry<T, K>"
|
|
1819
|
-
}
|
|
1820
|
-
},
|
|
1821
2068
|
"parameters": [
|
|
1822
2069
|
{
|
|
1823
|
-
"name": "
|
|
2070
|
+
"name": "dataServerResult",
|
|
1824
2071
|
"type": {
|
|
1825
|
-
"text": "
|
|
2072
|
+
"text": "FilteredDataServerResult"
|
|
1826
2073
|
}
|
|
1827
|
-
},
|
|
1828
|
-
{
|
|
1829
|
-
"name": "elementDefinition",
|
|
1830
|
-
"type": {
|
|
1831
|
-
"text": "T"
|
|
1832
|
-
},
|
|
1833
|
-
"description": "The definition of the element to create the registry\nfunction for."
|
|
1834
2074
|
}
|
|
1835
2075
|
],
|
|
1836
|
-
"description": "Defines an element registry function with a set of element definition defaults.",
|
|
1837
2076
|
"inheritedFrom": {
|
|
1838
|
-
"name": "
|
|
1839
|
-
"module": "src/
|
|
2077
|
+
"name": "BaseDatasource",
|
|
2078
|
+
"module": "src/utils/base-datasource.ts"
|
|
1840
2079
|
}
|
|
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
2080
|
},
|
|
1879
2081
|
{
|
|
1880
|
-
"
|
|
1881
|
-
"
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
},
|
|
1888
|
-
{
|
|
1889
|
-
"type": {
|
|
1890
|
-
"text": "boolean"
|
|
2082
|
+
"kind": "method",
|
|
2083
|
+
"name": "buildCriteria",
|
|
2084
|
+
"privacy": "private",
|
|
2085
|
+
"return": {
|
|
2086
|
+
"type": {
|
|
2087
|
+
"text": "string"
|
|
2088
|
+
}
|
|
1891
2089
|
},
|
|
1892
|
-
"default": "true",
|
|
1893
|
-
"fieldName": "reduced",
|
|
1894
2090
|
"inheritedFrom": {
|
|
1895
2091
|
"name": "BaseDatasource",
|
|
1896
2092
|
"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"
|
|
2093
|
+
}
|
|
1908
2094
|
},
|
|
1909
2095
|
{
|
|
1910
|
-
"
|
|
1911
|
-
"
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
2096
|
+
"kind": "method",
|
|
2097
|
+
"name": "setFilter",
|
|
2098
|
+
"privacy": "public",
|
|
2099
|
+
"parameters": [
|
|
2100
|
+
{
|
|
2101
|
+
"name": "fieldName",
|
|
2102
|
+
"type": {
|
|
2103
|
+
"text": "string"
|
|
2104
|
+
}
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "newFilter",
|
|
2108
|
+
"type": {
|
|
2109
|
+
"text": "string"
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
],
|
|
1917
2113
|
"inheritedFrom": {
|
|
1918
2114
|
"name": "BaseDatasource",
|
|
1919
2115
|
"module": "src/utils/base-datasource.ts"
|
|
1920
2116
|
}
|
|
1921
2117
|
},
|
|
1922
2118
|
{
|
|
1923
|
-
"
|
|
1924
|
-
"
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
},
|
|
1935
|
-
{
|
|
1936
|
-
"name": "criteria",
|
|
1937
|
-
"type": {
|
|
1938
|
-
"text": "string"
|
|
1939
|
-
},
|
|
1940
|
-
"fieldName": "criteria",
|
|
2119
|
+
"kind": "method",
|
|
2120
|
+
"name": "removeFilter",
|
|
2121
|
+
"privacy": "public",
|
|
2122
|
+
"parameters": [
|
|
2123
|
+
{
|
|
2124
|
+
"name": "fieldName",
|
|
2125
|
+
"type": {
|
|
2126
|
+
"text": "string"
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
],
|
|
1941
2130
|
"inheritedFrom": {
|
|
1942
2131
|
"name": "BaseDatasource",
|
|
1943
2132
|
"module": "src/utils/base-datasource.ts"
|
|
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."
|
|
2133
|
+
}
|
|
1946
2134
|
},
|
|
1947
2135
|
{
|
|
1948
|
-
"
|
|
1949
|
-
|
|
2136
|
+
"kind": "method",
|
|
2137
|
+
"name": "handleError",
|
|
2138
|
+
"return": {
|
|
2139
|
+
"type": {
|
|
2140
|
+
"text": "void"
|
|
2141
|
+
}
|
|
1950
2142
|
},
|
|
1951
|
-
"
|
|
1952
|
-
|
|
2143
|
+
"parameters": [
|
|
2144
|
+
{
|
|
2145
|
+
"name": "params",
|
|
2146
|
+
"default": "{}",
|
|
2147
|
+
"type": {
|
|
2148
|
+
"text": "BaseDatasourceErrorHandlingOptions"
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
],
|
|
1953
2152
|
"inheritedFrom": {
|
|
1954
2153
|
"name": "BaseDatasource",
|
|
1955
2154
|
"module": "src/utils/base-datasource.ts"
|
|
1956
|
-
}
|
|
1957
|
-
"description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
|
|
2155
|
+
}
|
|
1958
2156
|
},
|
|
1959
2157
|
{
|
|
1960
|
-
"
|
|
1961
|
-
"
|
|
1962
|
-
|
|
2158
|
+
"kind": "method",
|
|
2159
|
+
"name": "getFieldMetadata",
|
|
2160
|
+
"return": {
|
|
2161
|
+
"type": {
|
|
2162
|
+
"text": "FieldMetadata"
|
|
2163
|
+
}
|
|
1963
2164
|
},
|
|
1964
|
-
"
|
|
2165
|
+
"parameters": [
|
|
2166
|
+
{
|
|
2167
|
+
"name": "fieldName",
|
|
2168
|
+
"type": {
|
|
2169
|
+
"text": "string"
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
],
|
|
1965
2173
|
"inheritedFrom": {
|
|
1966
2174
|
"name": "BaseDatasource",
|
|
1967
2175
|
"module": "src/utils/base-datasource.ts"
|
|
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."
|
|
2176
|
+
}
|
|
1970
2177
|
},
|
|
1971
2178
|
{
|
|
1972
|
-
"
|
|
1973
|
-
"
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
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
|
+
],
|
|
1977
2195
|
"inheritedFrom": {
|
|
1978
2196
|
"name": "BaseDatasource",
|
|
1979
2197
|
"module": "src/utils/base-datasource.ts"
|
|
1980
|
-
}
|
|
1981
|
-
"description": "Maximum number of rows to track as part of a client \"view\"."
|
|
2198
|
+
}
|
|
1982
2199
|
},
|
|
1983
2200
|
{
|
|
1984
|
-
"
|
|
2201
|
+
"kind": "field",
|
|
2202
|
+
"name": "_presentation",
|
|
1985
2203
|
"type": {
|
|
1986
|
-
"text": "
|
|
2204
|
+
"text": "ComponentPresentation | null | undefined"
|
|
1987
2205
|
},
|
|
1988
|
-
"
|
|
1989
|
-
"
|
|
2206
|
+
"privacy": "private",
|
|
2207
|
+
"default": "void 0",
|
|
1990
2208
|
"inheritedFrom": {
|
|
1991
|
-
"name": "
|
|
1992
|
-
"module": "src/
|
|
2209
|
+
"name": "FoundationElement",
|
|
2210
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
1993
2211
|
}
|
|
1994
2212
|
},
|
|
1995
2213
|
{
|
|
2214
|
+
"kind": "field",
|
|
2215
|
+
"name": "$presentation",
|
|
1996
2216
|
"type": {
|
|
1997
|
-
"text": "
|
|
2217
|
+
"text": "ComponentPresentation | null"
|
|
1998
2218
|
},
|
|
1999
|
-
"
|
|
2000
|
-
"
|
|
2219
|
+
"privacy": "public",
|
|
2220
|
+
"description": "A property which resolves the ComponentPresentation instance\nfor the current component.",
|
|
2001
2221
|
"inheritedFrom": {
|
|
2002
|
-
"name": "
|
|
2003
|
-
"module": "src/
|
|
2004
|
-
}
|
|
2005
|
-
"description": "Enabled by default, will not work if a custom charts-fields is used (requires [type, value])."
|
|
2222
|
+
"name": "FoundationElement",
|
|
2223
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2224
|
+
}
|
|
2006
2225
|
},
|
|
2007
2226
|
{
|
|
2008
|
-
"
|
|
2227
|
+
"kind": "field",
|
|
2228
|
+
"name": "template",
|
|
2009
2229
|
"type": {
|
|
2010
|
-
"text": "
|
|
2230
|
+
"text": "ElementViewTemplate | void | null"
|
|
2011
2231
|
},
|
|
2012
|
-
"
|
|
2013
|
-
"
|
|
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.",
|
|
2014
2234
|
"inheritedFrom": {
|
|
2015
|
-
"name": "
|
|
2016
|
-
"module": "src/
|
|
2235
|
+
"name": "FoundationElement",
|
|
2236
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2017
2237
|
}
|
|
2018
2238
|
},
|
|
2019
2239
|
{
|
|
2020
|
-
"
|
|
2021
|
-
"
|
|
2022
|
-
|
|
2240
|
+
"kind": "method",
|
|
2241
|
+
"name": "templateChanged",
|
|
2242
|
+
"privacy": "protected",
|
|
2243
|
+
"return": {
|
|
2244
|
+
"type": {
|
|
2245
|
+
"text": "void"
|
|
2246
|
+
}
|
|
2023
2247
|
},
|
|
2024
|
-
"fieldName": "fields",
|
|
2025
2248
|
"inheritedFrom": {
|
|
2026
|
-
"name": "
|
|
2027
|
-
"module": "src/
|
|
2249
|
+
"name": "FoundationElement",
|
|
2250
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2028
2251
|
}
|
|
2029
2252
|
},
|
|
2030
2253
|
{
|
|
2031
|
-
"
|
|
2254
|
+
"kind": "field",
|
|
2255
|
+
"name": "styles",
|
|
2032
2256
|
"type": {
|
|
2033
|
-
"text": "
|
|
2257
|
+
"text": "ElementStyles | void | null"
|
|
2034
2258
|
},
|
|
2035
|
-
"
|
|
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.",
|
|
2036
2261
|
"inheritedFrom": {
|
|
2037
|
-
"name": "
|
|
2038
|
-
"module": "src/
|
|
2262
|
+
"name": "FoundationElement",
|
|
2263
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2039
2264
|
}
|
|
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": [
|
|
2265
|
+
},
|
|
2114
2266
|
{
|
|
2115
|
-
"
|
|
2116
|
-
"
|
|
2117
|
-
|
|
2267
|
+
"kind": "method",
|
|
2268
|
+
"name": "stylesChanged",
|
|
2269
|
+
"privacy": "protected",
|
|
2270
|
+
"return": {
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "void"
|
|
2273
|
+
}
|
|
2274
|
+
},
|
|
2275
|
+
"inheritedFrom": {
|
|
2276
|
+
"name": "FoundationElement",
|
|
2277
|
+
"module": "src/foundation-element/foundation-element.ts"
|
|
2118
2278
|
}
|
|
2119
2279
|
},
|
|
2120
2280
|
{
|
|
2121
|
-
"
|
|
2122
|
-
"
|
|
2123
|
-
"
|
|
2124
|
-
|
|
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"
|
|
2125
2309
|
}
|
|
2126
2310
|
}
|
|
2127
2311
|
],
|
|
2128
|
-
"
|
|
2129
|
-
"privacy": "public"
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"kind": "function",
|
|
2133
|
-
"name": "getFormattedDateGroupBy",
|
|
2134
|
-
"parameters": [
|
|
2312
|
+
"events": [
|
|
2135
2313
|
{
|
|
2136
|
-
"
|
|
2314
|
+
"description": "Fired when configuration or data loading fails fatally. detail: `ChartDatasourceErrorEventDetail`",
|
|
2315
|
+
"name": "datasource-error"
|
|
2316
|
+
}
|
|
2317
|
+
],
|
|
2318
|
+
"attributes": [
|
|
2319
|
+
{
|
|
2320
|
+
"name": "chart-fields",
|
|
2137
2321
|
"type": {
|
|
2138
|
-
"text": "
|
|
2139
|
-
}
|
|
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"
|
|
2140
2330
|
},
|
|
2141
2331
|
{
|
|
2142
|
-
"name": "
|
|
2332
|
+
"name": "server-fields",
|
|
2143
2333
|
"type": {
|
|
2144
|
-
"text": "
|
|
2145
|
-
}
|
|
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"
|
|
2146
2338
|
},
|
|
2147
2339
|
{
|
|
2148
|
-
"name": "
|
|
2149
|
-
"optional": true,
|
|
2340
|
+
"name": "is-stack",
|
|
2150
2341
|
"type": {
|
|
2151
2342
|
"text": "boolean"
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
{
|
|
2157
|
-
"kind": "function",
|
|
2158
|
-
"name": "getReduced",
|
|
2159
|
-
"return": {
|
|
2160
|
-
"type": {
|
|
2161
|
-
"text": "any[]"
|
|
2162
|
-
}
|
|
2163
|
-
},
|
|
2164
|
-
"parameters": [
|
|
2165
|
-
{
|
|
2166
|
-
"name": "allRows",
|
|
2167
|
-
"type": {
|
|
2168
|
-
"text": "any[]"
|
|
2169
|
-
}
|
|
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"
|
|
2170
2347
|
},
|
|
2171
2348
|
{
|
|
2172
|
-
"name": "
|
|
2349
|
+
"name": "is-group",
|
|
2173
2350
|
"type": {
|
|
2174
|
-
"text": "
|
|
2175
|
-
}
|
|
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"
|
|
2176
2356
|
},
|
|
2177
2357
|
{
|
|
2178
|
-
"name": "valueField",
|
|
2179
2358
|
"type": {
|
|
2180
|
-
"text": "
|
|
2181
|
-
}
|
|
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])."
|
|
2182
2368
|
},
|
|
2183
2369
|
{
|
|
2184
|
-
"name": "
|
|
2185
|
-
"optional": true,
|
|
2370
|
+
"name": "show-formatted-time",
|
|
2186
2371
|
"type": {
|
|
2187
|
-
"text": "
|
|
2188
|
-
}
|
|
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": [
|
|
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"
|
|
2377
|
+
},
|
|
2267
2378
|
{
|
|
2268
|
-
"name": "
|
|
2379
|
+
"name": "with-timestamp-formatting",
|
|
2269
2380
|
"type": {
|
|
2270
|
-
"text": "
|
|
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"
|
|
2271
2389
|
}
|
|
2272
2390
|
},
|
|
2273
2391
|
{
|
|
2274
|
-
"name": "
|
|
2392
|
+
"name": "resourceName",
|
|
2275
2393
|
"type": {
|
|
2276
|
-
"text": "
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
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": [
|
|
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."
|
|
2403
|
+
},
|
|
2301
2404
|
{
|
|
2302
|
-
"name": "
|
|
2405
|
+
"name": "criteria",
|
|
2303
2406
|
"type": {
|
|
2304
|
-
"text": "
|
|
2305
|
-
}
|
|
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."
|
|
2306
2415
|
},
|
|
2307
2416
|
{
|
|
2308
|
-
"name": "config",
|
|
2309
2417
|
"type": {
|
|
2310
|
-
"text": "
|
|
2311
|
-
}
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
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": [
|
|
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])."
|
|
2427
|
+
},
|
|
2335
2428
|
{
|
|
2336
|
-
"name": "
|
|
2429
|
+
"name": "maxRows",
|
|
2337
2430
|
"type": {
|
|
2338
|
-
"text": "
|
|
2339
|
-
}
|
|
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."
|
|
2340
2439
|
},
|
|
2341
2440
|
{
|
|
2342
|
-
"name": "
|
|
2441
|
+
"name": "maxView",
|
|
2343
2442
|
"type": {
|
|
2344
|
-
"text": "
|
|
2345
|
-
}
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
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": [
|
|
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\"."
|
|
2451
|
+
},
|
|
2369
2452
|
{
|
|
2370
|
-
"name": "
|
|
2453
|
+
"name": "orderBy",
|
|
2371
2454
|
"type": {
|
|
2372
|
-
"text": "
|
|
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"
|
|
2373
2462
|
}
|
|
2374
2463
|
},
|
|
2375
2464
|
{
|
|
2376
|
-
"name": "config",
|
|
2377
2465
|
"type": {
|
|
2378
|
-
"text": "
|
|
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])."
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"name": "rowId",
|
|
2478
|
+
"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"
|
|
2379
2486
|
}
|
|
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": [
|
|
2487
|
+
},
|
|
2403
2488
|
{
|
|
2404
|
-
"name": "
|
|
2489
|
+
"name": "fields",
|
|
2405
2490
|
"type": {
|
|
2406
|
-
"text": "
|
|
2491
|
+
"text": "string"
|
|
2492
|
+
},
|
|
2493
|
+
"fieldName": "fields",
|
|
2494
|
+
"inheritedFrom": {
|
|
2495
|
+
"name": "BaseDatasource",
|
|
2496
|
+
"module": "src/utils/base-datasource.ts"
|
|
2407
2497
|
}
|
|
2408
2498
|
},
|
|
2409
2499
|
{
|
|
2410
|
-
"name": "
|
|
2500
|
+
"name": "request",
|
|
2411
2501
|
"type": {
|
|
2412
|
-
"text": "
|
|
2502
|
+
"text": "any"
|
|
2503
|
+
},
|
|
2504
|
+
"fieldName": "request",
|
|
2505
|
+
"inheritedFrom": {
|
|
2506
|
+
"name": "BaseDatasource",
|
|
2507
|
+
"module": "src/utils/base-datasource.ts"
|
|
2413
2508
|
}
|
|
2414
2509
|
}
|
|
2415
|
-
]
|
|
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
|
|
2416
2523
|
}
|
|
2417
2524
|
],
|
|
2418
2525
|
"exports": [
|
|
2419
2526
|
{
|
|
2420
2527
|
"kind": "js",
|
|
2421
|
-
"name": "
|
|
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": "*",
|
|
2528
|
+
"name": "defaultChartFields",
|
|
2493
2529
|
"declaration": {
|
|
2494
|
-
"name": "
|
|
2495
|
-
"
|
|
2530
|
+
"name": "defaultChartFields",
|
|
2531
|
+
"module": "src/chart-datasource/chart-datasource.ts"
|
|
2496
2532
|
}
|
|
2497
2533
|
},
|
|
2498
2534
|
{
|
|
2499
2535
|
"kind": "js",
|
|
2500
|
-
"name": "
|
|
2536
|
+
"name": "defaultSeriesChartField",
|
|
2501
2537
|
"declaration": {
|
|
2502
|
-
"name": "
|
|
2503
|
-
"
|
|
2538
|
+
"name": "defaultSeriesChartField",
|
|
2539
|
+
"module": "src/chart-datasource/chart-datasource.ts"
|
|
2504
2540
|
}
|
|
2505
2541
|
},
|
|
2506
2542
|
{
|
|
2507
2543
|
"kind": "js",
|
|
2508
|
-
"name": "
|
|
2544
|
+
"name": "ChartDatasource",
|
|
2509
2545
|
"declaration": {
|
|
2510
|
-
"name": "
|
|
2511
|
-
"
|
|
2546
|
+
"name": "ChartDatasource",
|
|
2547
|
+
"module": "src/chart-datasource/chart-datasource.ts"
|
|
2512
2548
|
}
|
|
2513
2549
|
},
|
|
2514
2550
|
{
|
|
2515
|
-
"kind": "
|
|
2516
|
-
"name": "
|
|
2551
|
+
"kind": "custom-element-definition",
|
|
2552
|
+
"name": "chart-datasource",
|
|
2517
2553
|
"declaration": {
|
|
2518
|
-
"name": "
|
|
2519
|
-
"
|
|
2554
|
+
"name": "ChartDatasource",
|
|
2555
|
+
"module": "src/chart-datasource/chart-datasource.ts"
|
|
2520
2556
|
}
|
|
2521
2557
|
}
|
|
2522
2558
|
]
|
|
2523
2559
|
},
|
|
2524
2560
|
{
|
|
2525
2561
|
"kind": "javascript-module",
|
|
2526
|
-
"path": "src/
|
|
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",
|
|
2527
2569
|
"declarations": [
|
|
2528
2570
|
{
|
|
2529
2571
|
"kind": "function",
|
|
2530
|
-
"name": "
|
|
2572
|
+
"name": "extractFields",
|
|
2531
2573
|
"parameters": [
|
|
2532
2574
|
{
|
|
2533
|
-
"name": "
|
|
2534
|
-
"type": {
|
|
2535
|
-
"text": "HTMLElement"
|
|
2536
|
-
}
|
|
2537
|
-
},
|
|
2538
|
-
{
|
|
2539
|
-
"name": "config",
|
|
2540
|
-
"type": {
|
|
2541
|
-
"text": "LineOptions"
|
|
2542
|
-
}
|
|
2575
|
+
"name": "fields"
|
|
2543
2576
|
}
|
|
2544
2577
|
]
|
|
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": [
|
|
2578
|
+
},
|
|
2562
2579
|
{
|
|
2563
2580
|
"kind": "function",
|
|
2564
|
-
"name": "
|
|
2581
|
+
"name": "getNormalizedFieldValue",
|
|
2565
2582
|
"parameters": [
|
|
2566
2583
|
{
|
|
2567
|
-
"name": "
|
|
2584
|
+
"name": "fieldValue",
|
|
2568
2585
|
"type": {
|
|
2569
|
-
"text": "
|
|
2586
|
+
"text": "any"
|
|
2570
2587
|
}
|
|
2571
2588
|
},
|
|
2572
2589
|
{
|
|
2573
|
-
"name": "
|
|
2590
|
+
"name": "fieldType",
|
|
2591
|
+
"optional": true,
|
|
2574
2592
|
"type": {
|
|
2575
|
-
"text": "
|
|
2593
|
+
"text": "FieldTypeEnum"
|
|
2576
2594
|
}
|
|
2577
2595
|
}
|
|
2578
|
-
]
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
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": [
|
|
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
|
+
},
|
|
2596
2600
|
{
|
|
2597
2601
|
"kind": "function",
|
|
2598
|
-
"name": "
|
|
2602
|
+
"name": "getFormattedDateGroupBy",
|
|
2599
2603
|
"parameters": [
|
|
2600
2604
|
{
|
|
2601
|
-
"name": "
|
|
2605
|
+
"name": "groupByFieldValue",
|
|
2602
2606
|
"type": {
|
|
2603
|
-
"text": "
|
|
2607
|
+
"text": "any"
|
|
2604
2608
|
}
|
|
2605
2609
|
},
|
|
2606
2610
|
{
|
|
2607
|
-
"name": "
|
|
2611
|
+
"name": "fieldType",
|
|
2608
2612
|
"type": {
|
|
2609
|
-
"text": "
|
|
2613
|
+
"text": "FieldTypeEnum"
|
|
2614
|
+
}
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"name": "showTime",
|
|
2618
|
+
"optional": true,
|
|
2619
|
+
"type": {
|
|
2620
|
+
"text": "boolean"
|
|
2610
2621
|
}
|
|
2611
2622
|
}
|
|
2612
2623
|
]
|
|
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": [
|
|
2624
|
+
},
|
|
2630
2625
|
{
|
|
2631
2626
|
"kind": "function",
|
|
2632
|
-
"name": "
|
|
2627
|
+
"name": "getReduced",
|
|
2628
|
+
"return": {
|
|
2629
|
+
"type": {
|
|
2630
|
+
"text": "any[]"
|
|
2631
|
+
}
|
|
2632
|
+
},
|
|
2633
2633
|
"parameters": [
|
|
2634
2634
|
{
|
|
2635
|
-
"name": "
|
|
2635
|
+
"name": "allRows",
|
|
2636
2636
|
"type": {
|
|
2637
|
-
"text": "
|
|
2637
|
+
"text": "any[]"
|
|
2638
2638
|
}
|
|
2639
2639
|
},
|
|
2640
2640
|
{
|
|
2641
|
-
"name": "
|
|
2641
|
+
"name": "groupByField",
|
|
2642
2642
|
"type": {
|
|
2643
|
-
"text": "
|
|
2643
|
+
"text": "string"
|
|
2644
2644
|
}
|
|
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": [
|
|
2645
|
+
},
|
|
2668
2646
|
{
|
|
2669
|
-
"name": "
|
|
2647
|
+
"name": "valueField",
|
|
2670
2648
|
"type": {
|
|
2671
|
-
"text": "
|
|
2649
|
+
"text": "string"
|
|
2672
2650
|
}
|
|
2673
2651
|
},
|
|
2674
2652
|
{
|
|
2675
|
-
"name": "
|
|
2653
|
+
"name": "seriesField",
|
|
2654
|
+
"optional": true,
|
|
2676
2655
|
"type": {
|
|
2677
|
-
"text": "
|
|
2656
|
+
"text": "string"
|
|
2678
2657
|
}
|
|
2679
2658
|
}
|
|
2680
2659
|
]
|
|
@@ -2683,44 +2662,65 @@
|
|
|
2683
2662
|
"exports": [
|
|
2684
2663
|
{
|
|
2685
2664
|
"kind": "js",
|
|
2686
|
-
"name": "
|
|
2665
|
+
"name": "extractFields",
|
|
2687
2666
|
"declaration": {
|
|
2688
|
-
"name": "
|
|
2689
|
-
"module": "src/
|
|
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",
|
|
2690
|
+
"declaration": {
|
|
2691
|
+
"name": "getReduced",
|
|
2692
|
+
"module": "src/chart-datasource/chart-datasource.utils.ts"
|
|
2690
2693
|
}
|
|
2691
2694
|
}
|
|
2692
2695
|
]
|
|
2693
2696
|
},
|
|
2694
2697
|
{
|
|
2695
2698
|
"kind": "javascript-module",
|
|
2696
|
-
"path": "src/
|
|
2697
|
-
"declarations": [
|
|
2698
|
-
{
|
|
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
|
-
],
|
|
2699
|
+
"path": "src/chart-datasource/index.ts",
|
|
2700
|
+
"declarations": [],
|
|
2717
2701
|
"exports": [
|
|
2718
2702
|
{
|
|
2719
2703
|
"kind": "js",
|
|
2720
|
-
"name": "
|
|
2704
|
+
"name": "*",
|
|
2721
2705
|
"declaration": {
|
|
2722
|
-
"name": "
|
|
2723
|
-
"
|
|
2706
|
+
"name": "*",
|
|
2707
|
+
"package": "./chart-datasource.config"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"kind": "js",
|
|
2712
|
+
"name": "*",
|
|
2713
|
+
"declaration": {
|
|
2714
|
+
"name": "*",
|
|
2715
|
+
"package": "./chart-datasource.types"
|
|
2716
|
+
}
|
|
2717
|
+
},
|
|
2718
|
+
{
|
|
2719
|
+
"kind": "js",
|
|
2720
|
+
"name": "*",
|
|
2721
|
+
"declaration": {
|
|
2722
|
+
"name": "*",
|
|
2723
|
+
"package": "./chart-datasource"
|
|
2724
2724
|
}
|
|
2725
2725
|
}
|
|
2726
2726
|
]
|