2020-11-01 00:26:47 +08:00
|
|
|
/**
|
2020-11-02 19:39:21 +08:00
|
|
|
* @file Echarts title 的配置
|
2020-11-01 00:26:47 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
import {
|
|
|
|
textStyleControls,
|
2020-11-02 19:39:21 +08:00
|
|
|
buildOptions,
|
|
|
|
commonStyle,
|
2020-11-01 00:26:47 +08:00
|
|
|
viewport,
|
|
|
|
createHierarchy
|
|
|
|
} from './Common';
|
|
|
|
|
2020-11-02 19:39:21 +08:00
|
|
|
//@ts-ignore
|
|
|
|
const tooltipOptions = __inline('./option-parts/option.tooltip.json');
|
|
|
|
|
|
|
|
// 给其他组件里的 tooltip 使用的
|
|
|
|
export const buildTooltip = (scope: string) => {
|
|
|
|
return buildOptions(scope, tooltipOptions);
|
2020-11-01 00:26:47 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
export default {
|
|
|
|
type: 'tabs',
|
2020-11-02 19:39:21 +08:00
|
|
|
tabs: [
|
|
|
|
{
|
|
|
|
title: '基础',
|
2021-06-24 10:18:12 +08:00
|
|
|
body: buildOptions('tooltip.', tooltipOptions)
|
2020-11-02 19:39:21 +08:00
|
|
|
}
|
|
|
|
]
|
2020-11-01 00:26:47 +08:00
|
|
|
};
|