amis/examples/components/EChartsEditor/Polar.tsx

37 lines
743 B
TypeScript
Raw Normal View History

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: '坐标系',
body: buildOptions('polar.', polarOptions)
2020-11-02 19:39:21 +08:00
},
{
title: '径向轴',
body: buildOptions('radiusAxis.', radiusAxisOptions)
2020-11-02 19:39:21 +08:00
},
{
title: '角度轴',
body: buildOptions('angleAxis.', angleAxisOptions)
2020-11-02 19:39:21 +08:00
}
]
};