MiniCharts
jsx
import MiniChart from '@semcore/mini-chart';
import MiniChart from '@semcore/mini-chart';
ScoreLineGaugeProps
& & {...}Name | Type | Description |
---|---|---|
segments | number | Count of line segments |
jsx
<MiniChart.ScoreLine />
<MiniChart.ScoreLine />
ScoreDonutProps
&jsx
<MiniChart.ScoreDonut />
<MiniChart.ScoreSemiDonut />
<MiniChart.ScoreDonut />
<MiniChart.ScoreSemiDonut />
TrendLineProps
& {...}Name | Type | Description |
---|---|---|
data | number[] | List of values |
color | string | Color of line |
lastPointColor | string | Color of last point in chart |
lastPointRadius | number | Radius for last point item |
jsx
<MiniChart.TrendLine />
<MiniChart.TrendArea />
<MiniChart.TrendLine />
<MiniChart.TrendArea />
TrendBarProps
& {...}Name | Type | Description |
---|---|---|
data | [] | Data to bar chart |
jsx
<MiniChart.TrendBar />
<MiniChart.TrendHistogram />
<MiniChart.TrendBar />
<MiniChart.TrendHistogram />