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

no demos for the Sankey Chart #232

Closed
fzc-seaside-villager opened this issue May 5, 2023 · 3 comments
Closed

no demos for the Sankey Chart #232

fzc-seaside-villager opened this issue May 5, 2023 · 3 comments
Assignees
Labels
Not a bug The issue can't be qualified as a bug

Comments

@fzc-seaside-villager
Copy link

Hi, recently I'm trying to add a Sankey chart to my project via the highcharts-vue wrapper. But I could not find an official demo in the guide.

If a demo for the Sankey chart could be added, it would be great for users of the highcharts-vue wrapper and make it a better guide.

Looking forward to the improvement.

Thank you.

@jszuminski jszuminski self-assigned this May 7, 2023
@jszuminski jszuminski added the Not a bug The issue can't be qualified as a bug label May 7, 2023
@jszuminski
Copy link
Contributor

jszuminski commented May 7, 2023

Hi, thanks!

Highcharts-Vue is just a wrapper around Highcharts. There are numerous types of series in Highcharts and all of their demos can already be found on our official website: https://www.highcharts.com/demo

You can take a look at our official Vanilla JS sankey demo here: https://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/demo/sankey-diagram

This works nearly the same for Highcharts with Vue so in order to create a Sankey Chart you need to import modules/sankey (https://api.highcharts.com/highcharts/series.sankey).

You have it explained in this section of readme: https://github.com/highcharts/highcharts-vue#importing-highcharts-modules

Here's a demo of a sankey chart with Highcharts-Vue: https://codesandbox.io/s/highcharts-vue-demo-forked-fxsjq2

Let me know if that helps!

@jszuminski
Copy link
Contributor

Closing as not planned.

@jszuminski jszuminski closed this as not planned Won't fix, can't repro, duplicate, stale May 7, 2023
@fzc-seaside-villager
Copy link
Author

Thank you very much!

Yea, I think it will help many highcharts-vue users including me :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not a bug The issue can't be qualified as a bug
Projects
None yet
Development

No branches or pull requests

2 participants