@undp/data-viz 1.2.0 → 1.2.1
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/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -4702,7 +4702,7 @@ declare interface Props_10 {
|
|
|
4702
4702
|
strokeWidth?: number;
|
|
4703
4703
|
/** Toggle the initial animation of the line. If the type is number then it uses the number as the time in seconds for animation. */
|
|
4704
4704
|
animate?: boolean | AnimateDataType;
|
|
4705
|
-
/** Format of the date in the data object */
|
|
4705
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
4706
4706
|
dateFormat?: string;
|
|
4707
4707
|
/** Title for the Y-axis */
|
|
4708
4708
|
yAxisTitle?: string;
|
|
@@ -4815,7 +4815,7 @@ declare interface Props_11 {
|
|
|
4815
4815
|
animate?: boolean | AnimateDataType;
|
|
4816
4816
|
/** Labels for the lines */
|
|
4817
4817
|
labels: [string, string];
|
|
4818
|
-
/** Format of the date in the data object */
|
|
4818
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
4819
4819
|
dateFormat?: string;
|
|
4820
4820
|
/** Title for the Y-axis */
|
|
4821
4821
|
yAxisTitle?: string;
|
|
@@ -4890,7 +4890,7 @@ declare interface Props_12 {
|
|
|
4890
4890
|
maxValue?: number;
|
|
4891
4891
|
/** Minimum value for the chart */
|
|
4892
4892
|
minValue?: number;
|
|
4893
|
-
/** Format of the date in the data object */
|
|
4893
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
4894
4894
|
dateFormat?: string;
|
|
4895
4895
|
/** Toggles the visibility of the area below the line */
|
|
4896
4896
|
area?: boolean;
|
|
@@ -5922,7 +5922,7 @@ declare interface Props_23 {
|
|
|
5922
5922
|
noOfXTicks?: number;
|
|
5923
5923
|
/** No. of ticks on the y-axis */
|
|
5924
5924
|
noOfYTicks?: number;
|
|
5925
|
-
/** Format of the date in the data object */
|
|
5925
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
5926
5926
|
dateFormat?: string;
|
|
5927
5927
|
/** Toggle visibility of color scale. This is only applicable if the data props hae color parameter */
|
|
5928
5928
|
showColorScale?: boolean;
|
|
@@ -7617,7 +7617,7 @@ declare interface Props_6 {
|
|
|
7617
7617
|
showColorScale?: boolean;
|
|
7618
7618
|
/** Labels for the lines */
|
|
7619
7619
|
labels: [string, string];
|
|
7620
|
-
/** Format of the date in the data object */
|
|
7620
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
7621
7621
|
dateFormat?: string;
|
|
7622
7622
|
/** Highlighted area(square) on the chart */
|
|
7623
7623
|
highlightAreaSettings?: HighlightAreaSettingsDataType[];
|
|
@@ -7726,7 +7726,7 @@ declare interface Props_7 {
|
|
|
7726
7726
|
intervalAreaOpacity?: number;
|
|
7727
7727
|
/** Toggle the initial animation of the line. If the type is number then it uses the number as the time in seconds for animation. */
|
|
7728
7728
|
animate?: boolean | AnimateDataType;
|
|
7729
|
-
/** Format of the date in the data object */
|
|
7729
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
7730
7730
|
dateFormat?: string;
|
|
7731
7731
|
/** Title for the Y-axis */
|
|
7732
7732
|
yAxisTitle?: string;
|
|
@@ -7825,7 +7825,7 @@ declare interface Props_8 {
|
|
|
7825
7825
|
strokeWidth?: number;
|
|
7826
7826
|
/** Toggle the initial animation of the line. If the type is number then it uses the number as the time in seconds for animation. */
|
|
7827
7827
|
animate?: boolean | AnimateDataType;
|
|
7828
|
-
/** Format of the date in the data object */
|
|
7828
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
7829
7829
|
dateFormat?: string;
|
|
7830
7830
|
/** Title for the Y-axis */
|
|
7831
7831
|
yAxisTitle?: string;
|
|
@@ -7936,7 +7936,7 @@ declare interface Props_9 {
|
|
|
7936
7936
|
strokeWidth?: number;
|
|
7937
7937
|
/** Toggle the initial animation of the line. If the type is number then it uses the number as the time in seconds for animation. */
|
|
7938
7938
|
animate?: boolean | AnimateDataType;
|
|
7939
|
-
/** Format of the date in the data object */
|
|
7939
|
+
/** Format of the date in the data object. Available formats can be found [here](https://date-fns.org/docs/format) */
|
|
7940
7940
|
dateFormat?: string;
|
|
7941
7941
|
/** Title for the Y-axis */
|
|
7942
7942
|
yAxisTitle?: string;
|