Skip to content

Mini chart

MiniCharts

jsx
import MiniChart from '@semcore/mini-chart';
import MiniChart from '@semcore/mini-chart';

ScoreLineGaugeProps

& & {...}
NameTypeDescription
segmentsnumberCount of line segments
jsx
<MiniChart.ScoreLine />
<MiniChart.ScoreLine />

ScoreDonutProps

&
jsx
<MiniChart.ScoreDonut />
<MiniChart.ScoreSemiDonut />
<MiniChart.ScoreDonut />
<MiniChart.ScoreSemiDonut />

TrendLineProps

& {...}
NameTypeDescription
datanumber[]List of values
colorstringColor of line
lastPointColorstringColor of last point in chart
lastPointRadiusnumberRadius for last point item
jsx
<MiniChart.TrendLine />
<MiniChart.TrendArea />
<MiniChart.TrendLine />
<MiniChart.TrendArea />

TrendBarProps

& {...}
NameTypeDescription
data[]Data to bar chart
jsx
<MiniChart.TrendBar />
<MiniChart.TrendHistogram />
<MiniChart.TrendBar />
<MiniChart.TrendHistogram />

Released under the MIT License.

Released under the MIT License.