2020-11-02 19:39:21 +08:00
|
|
|
/**
|
|
|
|
* @file Echarts title 的配置
|
|
|
|
*/
|
|
|
|
|
|
|
|
import {
|
|
|
|
textStyleControls,
|
|
|
|
buildOptions,
|
|
|
|
commonStyle,
|
|
|
|
viewport,
|
|
|
|
createHierarchy
|
|
|
|
} from './Common';
|
|
|
|
|
|
|
|
//@ts-ignore
|
|
|
|
const polarOptions = __inline('./option-parts/option.polar.json');
|
|
|
|
//@ts-ignore
|
|
|
|
const radiusAxisOptions = __inline('./option-parts/option.radiusAxis.json');
|
|
|
|
//@ts-ignore
|
|
|
|
const angleAxisOptions = __inline('./option-parts/option.angleAxis.json');
|
|
|
|
|
|
|
|
export default {
|
|
|
|
type: 'tabs',
|
|
|
|
tabs: [
|
|
|
|
{
|
|
|
|
title: '坐标系',
|
2021-06-24 10:18:12 +08:00
|
|
|
body: buildOptions('polar.', polarOptions)
|
2020-11-02 19:39:21 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '径向轴',
|
2021-06-24 10:18:12 +08:00
|
|
|
body: buildOptions('radiusAxis.', radiusAxisOptions)
|
2020-11-02 19:39:21 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '角度轴',
|
2021-06-24 10:18:12 +08:00
|
|
|
body: buildOptions('angleAxis.', angleAxisOptions)
|
2020-11-02 19:39:21 +08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
};
|