Skip to content

Commit 106e476

Browse files
committed
chore(charts): update documentation for ECharts integration
1 parent fb25d76 commit 106e476

File tree

81 files changed

+327
-217
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+327
-217
lines changed

packages/react-charts/src/victory/components/Chart/Chart.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,14 @@ export interface ChartProps extends VictoryChartProps {
9595
/**
9696
* Note: This prop should not be set manually.
9797
*
98-
* @private
98+
* @private Not intended as public API and subject to change
9999
* @hide
100100
*/
101101
defaultAxes?: AxesType;
102102
/**
103103
* Note: This prop should not be set manually.
104104
*
105-
* @private
105+
* @private Not intended as public API and subject to change
106106
* @hide
107107
*/
108108
defaultPolarAxes?: AxesType;
@@ -349,7 +349,7 @@ export interface ChartProps extends VictoryChartProps {
349349
/**
350350
* Note: This prop should not be set manually.
351351
*
352-
* @private
352+
* @private Not intended as public API and subject to change
353353
* @hide
354354
*/
355355
prependDefaultAxes?: boolean;
@@ -392,7 +392,7 @@ export interface ChartProps extends VictoryChartProps {
392392
*
393393
* Note: This prop should not be set manually.
394394
*
395-
* @private
395+
* @private Not intended as public API and subject to change
396396
* @hide
397397
*/
398398
sharedEvents?: { events: any[]; getEventState: Function };

packages/react-charts/src/victory/components/ChartArea/ChartArea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ export interface ChartAreaProps extends VictoryAreaProps {
311311
*
312312
* Note: This prop should not be set manually.
313313
*
314-
* @private
314+
* @private Not intended as public API and subject to change
315315
* @hide
316316
*/
317317
sharedEvents?: { events: any[]; getEventState: Function };

packages/react-charts/src/victory/components/ChartArea/examples/ChartArea.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { getResizeObserver } from '@patternfly/react-core';
1818
## Introduction
1919
Note: PatternFly React charts live in its own package at [@patternfly/react-charts](https://www.npmjs.com/package/@patternfly/react-charts)!
2020

21-
PatternFly React charts are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
21+
The examples below are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
2222

2323
## Examples
2424
### Basic with right aligned legend

packages/react-charts/src/victory/components/ChartAxis/ChartAxis.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export interface ChartAxisProps extends VictoryAxisProps {
305305
*
306306
* Note: This prop should not be set manually.
307307
*
308-
* @private
308+
* @private Not intended as public API and subject to change
309309
* @hide
310310
*/
311311
sharedEvents?: { events: any[]; getEventState: Function };

packages/react-charts/src/victory/components/ChartBar/ChartBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ export interface ChartBarProps extends VictoryBarProps {
306306
*
307307
* Note: This prop should not be set manually.
308308
*
309-
* @private
309+
* @private Not intended as public API and subject to change
310310
* @hide
311311
*/
312312
polar?: boolean;
@@ -350,7 +350,7 @@ export interface ChartBarProps extends VictoryBarProps {
350350
*
351351
* Note: This prop should not be set manually.
352352
*
353-
* @private
353+
* @private Not intended as public API and subject to change
354354
* @hide
355355
*/
356356
sharedEvents?: { events: any[]; getEventState: Function };

packages/react-charts/src/victory/components/ChartBar/examples/ChartBar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import t_global_color_status_warning_100 from '@patternfly/react-tokens/dist/esm
1515

1616
Note: PatternFly React charts live in its own package at [@patternfly/react-charts](https://www.npmjs.com/package/@patternfly/react-charts)!
1717

18-
PatternFly React charts are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
18+
The examples below are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
1919

2020
## Examples
2121

packages/react-charts/src/victory/components/ChartBoxPlot/ChartBoxPlot.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ export interface ChartBoxPlotProps extends VictoryBoxPlotProps {
425425
*
426426
* Note: This prop should not be set manually.
427427
*
428-
* @private
428+
* @private Not intended as public API and subject to change
429429
* @hide
430430
*/
431431
polar?: boolean;
@@ -559,7 +559,7 @@ export interface ChartBoxPlotProps extends VictoryBoxPlotProps {
559559
*
560560
* Note: This prop should not be set manually.
561561
*
562-
* @private
562+
* @private Not intended as public API and subject to change
563563
* @hide
564564
*/
565565
sharedEvents?: { events: any[]; getEventState: Function };

packages/react-charts/src/victory/components/ChartBoxPlot/examples/ChartBoxPlot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import chart_color_orange_300 from '@patternfly/react-tokens/dist/esm/chart_colo
1919
## Introduction
2020
Note: PatternFly React charts live in its own package at [@patternfly/react-charts](https://www.npmjs.com/package/@patternfly/react-charts)!
2121

22-
PatternFly React charts are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
22+
The examples below are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
2323

2424

2525
## Examples

packages/react-charts/src/victory/components/ChartBullet/examples/ChartBullet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { getResizeObserver } from '@patternfly/react-core';
1515
## Introduction
1616
Note: PatternFly React charts live in its own package at [@patternfly/react-charts](https://www.npmjs.com/package/@patternfly/react-charts)!
1717

18-
PatternFly React charts are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
18+
The examples below are based on the [Victory](https://formidable.com/open-source/victory/docs/victory-chart/) chart library, along with additional functionality, custom components, and theming for PatternFly. This provides a collection of React based components you can use to build PatternFly patterns with consistent markup, styling, and behavior.
1919

2020
## Examples
2121
### Basic

packages/react-charts/src/victory/components/ChartBullet/utils/chart-bullet-data.ts

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ interface ChartBulletDataInterface {
2222

2323
/**
2424
* Returns comparative measure data
25-
* @private
25+
*
26+
* @private Not intended as public API and subject to change
2627
*/
2728
export const getComparativeMeasureData = ({
2829
data,
@@ -54,7 +55,8 @@ export const getComparativeMeasureData = ({
5455

5556
/**
5657
* Returns comparative error measure data
57-
* @private
58+
*
59+
* @private Not intended as public API and subject to change
5860
*/
5961
export const getComparativeErrorMeasureData = ({
6062
data,
@@ -73,7 +75,8 @@ export const getComparativeErrorMeasureData = ({
7375

7476
/**
7577
* Returns comparative warning data
76-
* @private
78+
*
79+
* @private Not intended as public API and subject to change
7780
*/
7881
export const getComparativeWarningMeasureData = ({
7982
data,
@@ -92,7 +95,8 @@ export const getComparativeWarningMeasureData = ({
9295

9396
/**
9497
* Returns primary dot measure data
95-
* @private
98+
*
99+
* @private Not intended as public API and subject to change
96100
*/
97101
export const getPrimaryDotMeasureData = ({
98102
data,
@@ -115,7 +119,8 @@ export const getPrimaryDotMeasureData = ({
115119

116120
/**
117121
* Returns primary segment measure data
118-
* @private
122+
*
123+
* @private Not intended as public API and subject to change
119124
*/
120125
export const getPrimarySegmentedMeasureData = ({
121126
data,
@@ -182,7 +187,8 @@ export const getPrimarySegmentedMeasureData = ({
182187

183188
/**
184189
* Returns qualitative range data
185-
* @private
190+
*
191+
* @private Not intended as public API and subject to change
186192
*/
187193
export const getQualitativeRangeData = ({
188194
data,

0 commit comments

Comments
 (0)