@undp/data-viz 1.4.3 → 1.4.5

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.
@@ -146,6 +146,8 @@ declare interface Props {
146
146
  axisTitle?: string;
147
147
  /** Sorting order for data. If this is a number then data is sorted by value at that index x array in the data props. If this is diff then data is sorted by the difference of the last and first element in the x array in the data props. This is overwritten by labelOrder prop */
148
148
  sortParameter?: number | 'diff';
149
+ /** Sorting order for data. This is overwritten by labelOrder prop. */
150
+ sortData?: 'asc' | 'desc';
149
151
  /** Toggles if data points which have all the values as undefined or null are filtered out. */
150
152
  filterNA?: boolean;
151
153
  /** Toggles if the graph animates in when loaded. */