mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-06 05:49:32 +08:00
37 lines
755 B
TypeScript
37 lines
755 B
TypeScript
/**
|
|
* @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: '坐标系',
|
|
controls: buildOptions('polar.', polarOptions)
|
|
},
|
|
{
|
|
title: '径向轴',
|
|
controls: buildOptions('radiusAxis.', radiusAxisOptions)
|
|
},
|
|
{
|
|
title: '角度轴',
|
|
controls: buildOptions('angleAxis.', angleAxisOptions)
|
|
}
|
|
]
|
|
};
|