Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to indentify a chart type ? #140

Open
BlackTitanX opened this issue Dec 24, 2024 · 1 comment
Open

Is there a way to indentify a chart type ? #140

BlackTitanX opened this issue Dec 24, 2024 · 1 comment

Comments

@BlackTitanX
Copy link

Hello I'd like to know if there's a way to identify a chart type in order to add custom code to set the datasets according to the format of that particular chart.

singerla added a commit that referenced this issue Dec 25, 2024
@singerla
Copy link
Owner

Please take a look at my latest commit: Chart type can be inferred from tag, e.g. <c:barChart>.

You can enable

// XmlHelper.dump(chart)
and run yarn test read-chart-info to see the structure.

It will become a little more difficult if you have combo charts with different chart types mixing in, depending on your exact use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants