mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
13 lines
218 B
TypeScript
13 lines
218 B
TypeScript
import 'echarts/lib/chart/bar';
|
|
|
|
import type {BarSeriesOption} from 'echarts';
|
|
|
|
function barSeries(props: BarSeriesOption): BarSeriesOption {
|
|
return {
|
|
...props,
|
|
type: 'bar',
|
|
};
|
|
}
|
|
|
|
export default barSeries;
|