@tetrascience-npm/tetrascience-react-ui 0.6.0-beta.94.1 → 0.6.0-beta.96.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.d.ts CHANGED
@@ -144,6 +144,13 @@ export declare interface AreaGraphProps {
144
144
  xTitle?: string;
145
145
  yTitle?: string;
146
146
  title?: string;
147
+ /**
148
+ * Categorical labels for the x-axis ticks. When provided, the x data values
149
+ * still drive area positioning but the displayed tick labels match these
150
+ * strings in order (e.g. ["Mon", "Tue", …]). Should align 1:1 with the
151
+ * unique, ordered x values across all series.
152
+ */
153
+ xTickText?: string[];
147
154
  }
148
155
 
149
156
  export declare type AreaGraphVariant = "normal" | "stacked";
@@ -316,6 +323,13 @@ export declare interface BarGraphProps {
316
323
  yTitle?: string;
317
324
  title?: string;
318
325
  barWidth?: number;
326
+ /**
327
+ * Categorical labels for the x-axis ticks. When provided, the x data values
328
+ * still drive bar positioning but the displayed tick labels match these
329
+ * strings in order (e.g. ["Mon", "Tue", …]). Should align 1:1 with the
330
+ * unique, ordered x values across all series.
331
+ */
332
+ xTickText?: string[];
319
333
  }
320
334
 
321
335
  export declare type BarGraphVariant = "group" | "stack" | "overlay";
@@ -1843,6 +1857,13 @@ export declare type LineGraphProps = {
1843
1857
  xTitle?: string;
1844
1858
  yTitle?: string;
1845
1859
  title?: string;
1860
+ /**
1861
+ * Categorical labels for the x-axis ticks. When provided, the x data values
1862
+ * still drive line positioning but the displayed tick labels match these
1863
+ * strings in order (e.g. ["Mon", "Tue", …]). Should align 1:1 with the
1864
+ * unique, ordered x values across all series.
1865
+ */
1866
+ xTickText?: string[];
1846
1867
  };
1847
1868
 
1848
1869
  export declare type LineGraphVariant = "lines" | "lines+markers" | "lines+markers+error_bars";