How to implement a Packed bubble chart? #66
-
Hello, I am trying to follow this example: https://www.highcharts.com/demo/highcharts/packed-bubble but with my current setup I am getting the following error: In my
Which module should I use? This page (https://api.highcharts.com/highstock/plotOptions.bubble) is saying to use highcharts-more but I can't see it unless I am looking in the wrong place. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi, I like the idea of implementing "modules" as an option in nuxt config. I only implemented it as a prop because I assumed most components would want to limit the scope of the highcharts modules. So, something like this should work: <highchart :modules="['packed-bubble']" :options="chartOpts />
This example shows how the |
Beta Was this translation helpful? Give feedback.
-
Here are the docs for the packed bubble: https://www.highcharts.com/docs/chart-and-series-types/packed-bubble According to the docs, the packed-bubble is provided by "highcharts-more" so that you can just specify the chart type to be "packedbubble". I.e., packedbubble is not part of the highcharts modules, so in your snipped above, you would just omit the "modules" part. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/richardeschloss/nuxt-highcharts/blob/master/components/charts/PackedBubble.vue |
Beta Was this translation helpful? Give feedback.
https://github.com/richardeschloss/nuxt-highcharts/blob/master/components/charts/PackedBubble.vue