Skip to content

[Typescript] CategoryAxisBaseOption is no exported in echarts #17306

@lankerxd

Description

@lankerxd

What problem does this feature solve?

the problem is 'CategoryAxisBaseOption' interface is no exported,and I want to write such code , like this :

import { CategoryAxisBaseOption, EChartsOption } from 'echarts'
let xAxisData: CategoryAxisBaseOption = ['xAxis1', 'xAxis2']
const chartOption: EChartsOption = {
    xAxis: {
      data: xAxisData,
    },
 }

so what should I do , and why not export CategoryAxisBaseOption
The real reason for this is package component in Vue , the xAxisData is prop define in Vue component。

What does the proposed API look like?

I don't know how to do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enThis issue is in EnglishpendingWe are not sure about whether this is a bug/new feature.staleInactive for a long time. Will be closed in 7 days.typescript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions