Google Charts Bubble Charts categorical x and y axes instead of numeric

后端 未结 2 1757
失恋的感觉
失恋的感觉 2021-01-15 03:09

I have created a beautiful bubble chart using Google Charts. Here is a shot of the chart:

\"enter

2条回答
  •  被撕碎了的回忆
    2021-01-15 04:04

    Unfortunately, there is no easy way to do this as bubble charts (or anything that uses numerical series for an axis value). You can work around it as explained here.

    The general concept is to eliminate your axis labels on the 'main chart' and adjust the gridlines to match the amount of labels you want. Then create an additional dummy chart which shows only the categories, and use that to show the labels.

    Unfortunately, this is how it has to be until Google decides to implement the entire ICU pattern set for chart axes...

提交回复
热议问题