File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ export { default as core } from './core';
1515export { default as Theme } from './theme' ;
1616export { default as Dragger } from './feature/drag' ;
1717export { default as Card } from './feature/card' ;
18+ export { default as util } from './util' ;
1819export { default as BarChart } from './components/BarChart' ;
1920export { default as PieChart } from './components/PieChart' ;
2021export { default as LineChart } from './components/LineChart' ;
Original file line number Diff line number Diff line change 1+ import * as echarts from 'echarts' ;
2+ import getTooltipContentHtmlStr from "./option/config/tooltip/formatter" ;
3+
4+ const util = {
5+ tooltip : {
6+ formatter : getTooltipContentHtmlStr
7+ } ,
8+ echarts,
9+ format : {
10+ truncateText : echarts . format . truncateText
11+ }
12+ }
13+ export default util
You can’t perform that action at this time.
0 commit comments