@lobehub/charts 5.3.0 → 5.4.0

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.
@@ -0,0 +1,52 @@
1
+ ---
2
+ title: AccuracyBarChart
3
+ description: Accuracy bar charts visualize model or system performance metrics with intelligent color coding and percentage display.
4
+ category: Charts
5
+ order: 1
6
+ ---
7
+
8
+ import DemoIndex from './demos/index.tsx?demo';
9
+
10
+ <Demo of={DemoIndex} layout="bare" />
11
+
12
+ {/* ## Usage example
13
+
14
+ The example below shows a chart composition displaying accuracy metrics for different models or systems.
15
+
16
+ <code src="./demos/example.tsx"></code>
17
+
18
+ ## Usage example with color schemes
19
+
20
+ The example below shows different color schemes for accuracy visualization.
21
+
22
+ <code src="./demos/colorSchemes.tsx"></code>
23
+
24
+ ## Usage example with thresholds
25
+
26
+ The example below shows threshold-based color coding for accuracy levels.
27
+
28
+ <code src="./demos/thresholds.tsx"></code>
29
+
30
+ ## Usage example with custom formatting
31
+
32
+ The example below shows custom accuracy formatting and display options.
33
+
34
+ <code src="./demos/customFormatting.tsx"></code>
35
+
36
+ ## Usage example with click events
37
+
38
+ The example below shows an interactive chart using the `onValueChange` prop.
39
+
40
+ <code src="./demos/clickEvent.tsx"></code>
41
+
42
+ ## No Data
43
+
44
+ <code src="./demos/noData.tsx"></code>
45
+
46
+ ## Loading
47
+
48
+ <code src="./demos/loading.tsx"></code>
49
+
50
+ ## API
51
+
52
+ <API></API> */}
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: AreaChart
3
+ description: An area chart displays quantitative data graphically. It is based on the line chart but the area between x-axis and line is emphasized with color.
4
+ category: Charts
5
+ order: 2
6
+ ---
7
+
8
+ import DemoIndex from './demos/index.tsx?demo';
9
+ import DemoExample from './demos/example.tsx?demo';
10
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
11
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
12
+ import DemoCustomColors from './demos/customColors.tsx?demo';
13
+ import DemoAxis from './demos/axis.tsx?demo';
14
+
15
+ <Demo of={DemoIndex} layout="bare" />
16
+
17
+ ## Usage example
18
+
19
+ The example below shows a composition combining an `AreaChart` with text elements.
20
+
21
+ <Demo of={DemoExample} />
22
+
23
+ ## Usage example with click event
24
+
25
+ The example below shows an interacive chart using the `onValueChange` prop.
26
+
27
+ <Demo of={DemoClickEvent} />
28
+
29
+ ## Usage example with custom tooltip
30
+
31
+ The example below shows a custom tooltip using `customTooltip` prop.
32
+
33
+ <Demo of={DemoCustomTooltip} />
34
+
35
+ ## Usage example with a custom colors
36
+
37
+ The example below shows a chart with custom `colors`.
38
+
39
+ <Demo of={DemoCustomColors} />
40
+
41
+ ## Usage example with x-axis and y-axis labels
42
+
43
+ The example below shows added axis labels using `xAxisLabel` and `yAxisLabel` prop.
44
+
45
+ <Demo of={DemoAxis} />
46
+
47
+ ## API
48
+
49
+ <Api name="AreaChart" />
@@ -0,0 +1,73 @@
1
+ ---
2
+ title: BarChart
3
+ description: Bar charts compare numerical values and use the length of each bar to represent the value of each variable.
4
+ category: Charts
5
+ order: 0
6
+ ---
7
+
8
+ import DemoIndex from './demos/index.tsx?demo';
9
+ import DemoExample from './demos/example.tsx?demo';
10
+ import DemoXAxisLabelFormatter from './demos/xAxisLabelFormatter.tsx?demo';
11
+ import DemoGroups from './demos/groups.tsx?demo';
12
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
13
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
14
+ import DemoCustomColors from './demos/customColors.tsx?demo';
15
+ import DemoAxis from './demos/axis.tsx?demo';
16
+ import DemoNoData from './demos/noData.tsx?demo';
17
+ import DemoLoading from './demos/loading.tsx?demo';
18
+
19
+ <Demo of={DemoIndex} layout="bare" />
20
+
21
+ ## Usage example
22
+
23
+ The example below shows a chart composition combining a `BarChart` with text elements.
24
+
25
+ <Demo of={DemoExample} />
26
+
27
+ ## Usage example with custom X axis labels
28
+
29
+ The example below shows an interacive chart using the `xAxisLabelFormatter` prop.
30
+
31
+ <Demo of={DemoXAxisLabelFormatter} />
32
+
33
+ ## Usage example with groups
34
+
35
+ The example below shows a chart with a group composition.
36
+
37
+ <Demo of={DemoGroups} />
38
+
39
+ ## Usage example with click event
40
+
41
+ The example below shows an interacive chart using the `onValueChange` prop.
42
+
43
+ <Demo of={DemoClickEvent} />
44
+
45
+ ## Usage example with custom tooltip
46
+
47
+ The example below shows a custom tooltip using `customTooltip` prop.
48
+
49
+ <Demo of={DemoCustomTooltip} />
50
+
51
+ ## Usage example with a custom colors
52
+
53
+ The example below shows a chart with custom `colors`.
54
+
55
+ <Demo of={DemoCustomColors} />
56
+
57
+ ## Usage example with x-axis and y-axis labels
58
+
59
+ The example below shows added axis labels using `xAxisLabel` and `yAxisLabel` props.
60
+
61
+ <Demo of={DemoAxis} />
62
+
63
+ ## No Data
64
+
65
+ <Demo of={DemoNoData} />
66
+
67
+ ## Loading
68
+
69
+ <Demo of={DemoLoading} />
70
+
71
+ ## API
72
+
73
+ <Api name="BarChart" />
@@ -0,0 +1,34 @@
1
+ ---
2
+ title: BarList
3
+ description: Horizontal bars with a customizable label inside.
4
+ category: Visualizations
5
+ ---
6
+
7
+ import DemoIndex from './demos/index.tsx?demo';
8
+ import DemoExample from './demos/example.tsx?demo';
9
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
10
+ import DemoCustomColors from './demos/customColors.tsx?demo';
11
+
12
+ <Demo of={DemoIndex} layout="bare" />
13
+
14
+ ## Usage example
15
+
16
+ You can also pass an `href` into the data, then your datapoint gets rendered as a clickable link with `target="_blank"`.
17
+
18
+ <Demo of={DemoExample} />
19
+
20
+ ## Usage example with click event
21
+
22
+ The example below shows an interacive chart using the `onValueChange` prop.
23
+
24
+ <Demo of={DemoClickEvent} />
25
+
26
+ ## Usage example with a custom colors
27
+
28
+ The example below shows a chart with custom `colors`.
29
+
30
+ <Demo of={DemoCustomColors} />
31
+
32
+ ## API
33
+
34
+ <Api name="BarList" />
@@ -0,0 +1,43 @@
1
+ ---
2
+ title: ComposedChart
3
+ description: ComposedChart renders bar and line series on the same chart with independent left and right y-axes, sharing a single x-axis and a unified tooltip.
4
+ category: Charts
5
+ order: 2
6
+ ---
7
+
8
+ import DemoAxis from './demos/axis.tsx?demo';
9
+ import DemoDomain from './demos/domain.tsx?demo';
10
+ import DemoExample from './demos/example.tsx?demo';
11
+ import DemoIndex from './demos/index.tsx?demo';
12
+ import DemoLoading from './demos/loading.tsx?demo';
13
+ import DemoNoData from './demos/noData.tsx?demo';
14
+
15
+ <Demo of={DemoIndex} layout="bare" />
16
+
17
+ ## Usage example
18
+
19
+ A classic dual-axes chart: request count (bar, left axis) + average cost (line, right axis).
20
+
21
+ <Demo of={DemoExample} />
22
+
23
+ ## Usage example with axis labels
24
+
25
+ <Demo of={DemoAxis} />
26
+
27
+ ## Custom y-axis domain
28
+
29
+ Recharts defaults number axes to `[0, auto]`, which flattens series in a narrow range (e.g. success rate 80–95%). Pass `domain` on `yAxisLeft` / `yAxisRight` to control the scale — same values as [recharts `YAxis.domain`](https://recharts.org/en-US/api/YAxis#domain).
30
+
31
+ <Demo of={DemoDomain} />
32
+
33
+ ## No Data
34
+
35
+ <Demo of={DemoNoData} />
36
+
37
+ ## Loading
38
+
39
+ <Demo of={DemoLoading} />
40
+
41
+ ## API
42
+
43
+ <Api name="ComposedChart" />
@@ -0,0 +1,36 @@
1
+ ---
2
+ title: DataBars
3
+ description: Components to indicate progress, performance, or status. For example, an individual score compared to a benchmark, the length of a process, or the deviation of a value.
4
+ category: Visualizations
5
+ ---
6
+
7
+ import DemoProgressBar from './demos/ProgressBar.tsx?demo';
8
+ import DemoMarkerBar from './demos/MarkerBar.tsx?demo';
9
+ import DemoDeltaBar from './demos/DeltaBar.tsx?demo';
10
+ import DemoCategoryBar from './demos/CategoryBar.tsx?demo';
11
+
12
+ ## Progress Bar
13
+
14
+ <Demo of={DemoProgressBar} layout="center" />
15
+
16
+ ## Marker Bar
17
+
18
+ <Demo of={DemoMarkerBar} layout="center" />
19
+
20
+ ## Delta Bar
21
+
22
+ <Demo of={DemoDeltaBar} layout="center" />
23
+
24
+ ## Category Bar
25
+
26
+ <Demo of={DemoCategoryBar} layout="center" />
27
+
28
+ ## API
29
+
30
+ <Api name="ProgressBar" />
31
+
32
+ <Api name="MarkerBar" />
33
+
34
+ <Api name="DeltaBar" />
35
+
36
+ <Api name="CategoryBar" />
@@ -0,0 +1,48 @@
1
+ ---
2
+ title: DonutChart
3
+ description: A donut chart displays quantitative information through a circular visualization.
4
+ category: Charts
5
+ ---
6
+
7
+ import DemoIndex from './demos/index.tsx?demo';
8
+ import DemoExample from './demos/example.tsx?demo';
9
+ import DemoWithLegend from './demos/withLegend.tsx?demo';
10
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
11
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
12
+ import DemoCustomColors from './demos/customColors.tsx?demo';
13
+
14
+ <Demo of={DemoIndex} layout="bare" />
15
+
16
+ ## Usage example
17
+
18
+ The example below shows a composition of a `DonutChart` component.
19
+
20
+ <Demo of={DemoExample} />
21
+
22
+ ## Usage example with legend
23
+
24
+ The example below shows a composition of a `DonutChart` and `Legend` component.
25
+
26
+ <Demo of={DemoWithLegend} />
27
+
28
+ ## Usage example with click event
29
+
30
+ The example below shows an interacive chart using the `onValueChange` prop.
31
+
32
+ <Demo of={DemoClickEvent} />
33
+
34
+ ## Usage example with custom tooltip
35
+
36
+ The example below shows a custom tooltip using `customTooltip` prop.
37
+
38
+ <Demo of={DemoCustomTooltip} />
39
+
40
+ ## Usage example with a custom colors
41
+
42
+ The example below shows a chart with custom `colors`.
43
+
44
+ <Demo of={DemoCustomColors} />
45
+
46
+ ## API
47
+
48
+ <Api name="DonutChart" />
@@ -0,0 +1,21 @@
1
+ ---
2
+ title: FunnelChart
3
+ description: A funnel chart illustrates the progression or conversion rates through successive stages of a process.
4
+ category: Charts
5
+ order: 3
6
+ ---
7
+
8
+ import DemoIndex from './demos/index.tsx?demo';
9
+ import DemoCalculateFrom from './demos/CalculateFrom.tsx?demo';
10
+
11
+ <Demo of={DemoIndex} layout="bare" />
12
+
13
+ ## Usage example with evolution gradient
14
+
15
+ The `calculateFrom` prop controls the referenced value to calculate the drop-off between steps. Here we set it to previous, to always reference the preceding bar as the calculation base. We also set `showArrow` to false.
16
+
17
+ <Demo of={DemoCalculateFrom} />
18
+
19
+ ## API
20
+
21
+ <Api name="FunnelChart" />
@@ -0,0 +1,70 @@
1
+ ---
2
+ title: Heatmaps
3
+ description: A flexible React component to display activity data in a heatmaps chart.
4
+ category: Visualizations
5
+ ---
6
+
7
+ import DemoIndex from './demos/index.tsx?demo';
8
+ import DemoExample from './demos/example.tsx?demo';
9
+ import DemoLoading from './demos/loading.tsx?demo';
10
+ import DemoActivityLevels from './demos/activityLevels.tsx?demo';
11
+ import DemoDataRanges from './demos/dataRanges.tsx?demo';
12
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
13
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
14
+ import DemoCustomColors from './demos/customColors.tsx?demo';
15
+ import DemoCustomization from './demos/customization.tsx?demo';
16
+ import DemoI18n from './demos/i18n.tsx?demo';
17
+
18
+ <Demo of={DemoIndex} isolated layout="bare" />
19
+
20
+ ## Usage example
21
+
22
+ The example below shows a composition of a `Heatmaps` component.
23
+
24
+ <Demo of={DemoExample} isolated />
25
+
26
+ ## Loading
27
+
28
+ <Demo of={DemoLoading} isolated />
29
+
30
+ ## Activity Levels
31
+
32
+ Use the `maxLevel` prop to control the number of activity levels. This value is zero indexed (0 represents no activity),
33
+ so for example a maxLevel of 2 will total in 3 levels as above. Each activity level must be in the interval from 0 to `maxLevel`,
34
+ which is 4 per default.
35
+
36
+ <Demo of={DemoActivityLevels} isolated />
37
+
38
+ ## Date Ranges
39
+
40
+ <Demo of={DemoDataRanges} isolated />
41
+
42
+ ## Usage example with click event
43
+
44
+ The example below shows an interacive chart using the `onValueChange` prop.
45
+
46
+ <Demo of={DemoClickEvent} isolated />
47
+
48
+ ## Usage example with custom tooltip
49
+
50
+ The example below shows a custom tooltip using `customTooltip` prop.
51
+
52
+ <Demo of={DemoCustomTooltip} isolated />
53
+
54
+ ## Usage example with a custom colors
55
+
56
+ The example below shows a chart with custom `colors`.
57
+
58
+ <Demo of={DemoCustomColors} isolated />
59
+
60
+ ## Customization
61
+
62
+ <Demo of={DemoCustomization} isolated />
63
+
64
+ ## Localization
65
+
66
+ <Demo of={DemoI18n} isolated />
67
+
68
+ ## API
69
+
70
+ <Api name="Heatmaps" />
@@ -0,0 +1,13 @@
1
+ ---
2
+ title: Legend
3
+ description: A color-coded legend which goes well with data bar components.
4
+ category: Visualizations
5
+ ---
6
+
7
+ import DemoIndex from './demos/index.tsx?demo';
8
+
9
+ <Demo of={DemoIndex} layout="center" />
10
+
11
+ ## API
12
+
13
+ <Api name="Legend" />
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: LineChart
3
+ description: A line chart is a graphical representation that connects one or more series of data points with a continuous line.
4
+ category: Charts
5
+ order: 1
6
+ ---
7
+
8
+ import DemoIndex from './demos/index.tsx?demo';
9
+ import DemoExample from './demos/example.tsx?demo';
10
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
11
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
12
+ import DemoCustomColors from './demos/customColors.tsx?demo';
13
+ import DemoAxis from './demos/axis.tsx?demo';
14
+
15
+ <Demo of={DemoIndex} layout="bare" />
16
+
17
+ ## Usage example
18
+
19
+ The example below shows a composition combining an `AreaChart` with text elements.
20
+
21
+ <Demo of={DemoExample} />
22
+
23
+ ## Usage example with click event
24
+
25
+ The example below shows an interacive chart using the `onValueChange` prop.
26
+
27
+ <Demo of={DemoClickEvent} />
28
+
29
+ ## Usage example with custom tooltip
30
+
31
+ The example below shows a custom tooltip using `customTooltip` prop.
32
+
33
+ <Demo of={DemoCustomTooltip} />
34
+
35
+ ## Usage example with a custom colors
36
+
37
+ The example below shows a chart with custom `colors`.
38
+
39
+ <Demo of={DemoCustomColors} />
40
+
41
+ ## Usage example with x-axis and y-axis labels
42
+
43
+ The example below shows added axis labels using `xAxisLabel` and `yAxisLabel` prop.
44
+
45
+ <Demo of={DemoAxis} />
46
+
47
+ ## API
48
+
49
+ <Api name="LineChart" />
@@ -182,8 +182,8 @@ var RadarChart = /*#__PURE__*/forwardRef(function (props, ref) {
182
182
  tick: showRadiusAxis,
183
183
  tickFormatter: valueFormatter,
184
184
  tickLine: false
185
- }), /*#__PURE__*/_jsx(Tooltip, {
186
- content: showTooltip ? function (_ref) {
185
+ }), showTooltip ? /*#__PURE__*/_jsx(Tooltip, {
186
+ content: function content(_ref) {
187
187
  var active = _ref.active,
188
188
  payload = _ref.payload,
189
189
  label = _ref.label;
@@ -206,12 +206,12 @@ var RadarChart = /*#__PURE__*/forwardRef(function (props, ref) {
206
206
  payload: payload,
207
207
  valueFormatter: valueFormatter
208
208
  });
209
- } : undefined,
209
+ },
210
210
  isAnimationActive: false,
211
211
  wrapperStyle: {
212
212
  outline: 'none'
213
213
  }
214
- }), showLegend ? /*#__PURE__*/_jsx(Legend, {
214
+ }) : undefined, showLegend ? /*#__PURE__*/_jsx(Legend, {
215
215
  content: function content(_ref2) {
216
216
  var payload = _ref2.payload;
217
217
  return ChartLegend({
@@ -0,0 +1,52 @@
1
+ ---
2
+ title: RadarChart
3
+ description: Radar charts compare multiple quantitative variables across categories on a polar grid.
4
+ category: Charts
5
+ order: 6
6
+ ---
7
+
8
+ import DemoAngleAxisLabelFormatter from './demos/angleAxisLabelFormatter.tsx?demo';
9
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
10
+ import DemoCustomColors from './demos/customColors.tsx?demo';
11
+ import DemoExample from './demos/example.tsx?demo';
12
+ import DemoIndex from './demos/index.tsx?demo';
13
+ import DemoLoading from './demos/loading.tsx?demo';
14
+ import DemoNoData from './demos/noData.tsx?demo';
15
+
16
+ <Demo of={DemoIndex} layout="bare" />
17
+
18
+ ## Usage example
19
+
20
+ The example below shows a chart composition combining a `RadarChart` with text elements.
21
+
22
+ <Demo of={DemoExample} />
23
+
24
+ ## Usage example with custom angle axis labels
25
+
26
+ The example below shows custom angle-axis labels using the `angleAxisLabelFormatter` prop, appending Product A values after each subject name.
27
+
28
+ <Demo of={DemoAngleAxisLabelFormatter} />
29
+
30
+ ## Usage example with click event
31
+
32
+ The example below shows an interactive chart using the `onValueChange` prop.
33
+
34
+ <Demo of={DemoClickEvent} />
35
+
36
+ ## Usage example with a custom colors
37
+
38
+ The example below shows a chart with custom `colors`.
39
+
40
+ <Demo of={DemoCustomColors} />
41
+
42
+ ## No Data
43
+
44
+ <Demo of={DemoNoData} />
45
+
46
+ ## Loading
47
+
48
+ <Demo of={DemoLoading} />
49
+
50
+ ## API
51
+
52
+ <Api name="RadarChart" />
@@ -0,0 +1,49 @@
1
+ ---
2
+ title: ScatterChart
3
+ description: A scatter chart visualizes relationships between two or three variables.
4
+ category: Charts
5
+ order: 4
6
+ ---
7
+
8
+ import DemoIndex from './demos/index.tsx?demo';
9
+ import DemoExample from './demos/example.tsx?demo';
10
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
11
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
12
+ import DemoCustomColors from './demos/customColors.tsx?demo';
13
+ import DemoAxis from './demos/axis.tsx?demo';
14
+
15
+ <Demo of={DemoIndex} layout="bare" />
16
+
17
+ ## Usage example
18
+
19
+ The example below shows a chart composition combining a `ScatterChart` with text elements.
20
+
21
+ <Demo of={DemoExample} />
22
+
23
+ ## Usage example with click event
24
+
25
+ The example below shows an interacive chart using the `onValueChange` prop.
26
+
27
+ <Demo of={DemoClickEvent} />
28
+
29
+ ## Usage example with custom tooltip
30
+
31
+ The example below shows a custom tooltip using `customTooltip` prop.
32
+
33
+ <Demo of={DemoCustomTooltip} />
34
+
35
+ ## Usage example with a custom colors
36
+
37
+ The example below shows a chart with custom `colors`.
38
+
39
+ <Demo of={DemoCustomColors} />
40
+
41
+ ## Usage example with x-axis and y-axis labels
42
+
43
+ The example below shows added axis labels using `xAxisLabel` and `yAxisLabel` props.
44
+
45
+ <Demo of={DemoAxis} />
46
+
47
+ ## API
48
+
49
+ <Api name="ScatterChart" />
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: SparkChart
3
+ description: A small graph capable of visualizing data in a simplified form.
4
+ category: Visualizations
5
+ ---
6
+
7
+ import DemoSparkAreaChart from './demos/SparkAreaChart.tsx?demo';
8
+ import DemoSparkBarChart from './demos/SparkBarChart.tsx?demo';
9
+ import DemoSparkLineChart from './demos/SparkLineChart.tsx?demo';
10
+
11
+ ## Spark AreaC hart
12
+
13
+ <Demo of={DemoSparkAreaChart} layout="center" />
14
+
15
+ ## Spark Bar Chart
16
+
17
+ <Demo of={DemoSparkBarChart} layout="center" />
18
+
19
+ ## Spark Line Chart
20
+
21
+ <Demo of={DemoSparkLineChart} layout="center" />
22
+
23
+ ## API
24
+
25
+ <Api name="SparkAreaChart" />
26
+
27
+ <Api name="SparkBarChart" />
28
+
29
+ <Api name="SparkLineChart" />
@@ -0,0 +1,41 @@
1
+ ---
2
+ title: Tracker
3
+ description: Component for visualizing activity logs or other data related to monitoring.
4
+ category: Visualizations
5
+ ---
6
+
7
+ import DemoIndex from './demos/index.tsx?demo';
8
+ import DemoExample from './demos/example.tsx?demo';
9
+ import DemoClickEvent from './demos/clickEvent.tsx?demo';
10
+ import DemoCustomTooltip from './demos/customTooltip.tsx?demo';
11
+ import DemoCustomColors from './demos/customColors.tsx?demo';
12
+
13
+ <Demo of={DemoIndex} layout="bare" />
14
+
15
+ ## Usage example
16
+
17
+ The example below shows a composition of an uptime monitor with a `Tracker` component. The \`tooltip property acts as pop-up information and displays the provided status.
18
+
19
+ <Demo of={DemoExample} layout="center" />
20
+
21
+ ## Usage example with click event
22
+
23
+ The example below shows an interacive chart using the `onValueChange` prop.
24
+
25
+ <Demo of={DemoClickEvent} />
26
+
27
+ ## Usage example with custom tooltip
28
+
29
+ The example below shows a custom tooltip using `customTooltip` prop.
30
+
31
+ <Demo of={DemoCustomTooltip} layout="center" />
32
+
33
+ ## Usage example with a custom colors
34
+
35
+ The example below shows a chart with custom `colors`.
36
+
37
+ <Demo of={DemoCustomColors} layout="center" />
38
+
39
+ ## API
40
+
41
+ <Api name="Tracker" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/charts",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "description": "React modern charts components built on recharts",
5
5
  "keywords": [
6
6
  "lobehub",