Update 6.70.0
Added the ability to specify a list of colors for the Polar Area, Pie and Donut chart:
Update 6.70.0
Added the ability to specify a list of colors for the Polar Area, Pie and Donut chart:
Awesome work as always! Will it be possible to click on a bar and a popup would appear referencing the record linked to the bar? Thanks
Iāve got a use case Iām trying to validate to see if this plugin can work for me. Iām creating sql queries using openAI. That query executes and you end up with a table. I want the user to click a button that then generates a graph based on the table that was just generated (I could have it come from an api source; I canāt think of a better way as I donāt think using bubble.io database would work for this). Another way to ask this is can I let a user modify a graphs source, and that source not be from a bubble.io database?
I think Iām doing something pretty similar to what you are describing:
This table (also from @Thimo !) gets it data from sql query:
https://app.tracktradecrypto.com/all-collections
Clicking on a row opens a new page, which has an apex chart populated also by a sql query:
https://app.tracktradecrypto.com/collection/sewerpass
Changing the source would be as easy as defining the appropriate SQL connections in bubble and letting the user pick
Yes this is possible. This is a demo for the area chart, but it works the same for a bar chart: Chartpreview | Bubble Editor
The chart source can be what ever you want (Bubble db, a custom state, API call etc) as long as you can provide a list of numbers (Y-axis) and a list of texts (X-axis) that are the same length
@drfalken Shared a very cool demo you could take a look at (:
Thanks
@Thimo Hey man, I am getting this error: Uncaught TypeError: Cannot read properties of undefined (reading ānodeā). Charts donāt work
Hi @feb0! Thank you for reporting. I will send you a PM so we can take a closer look at the issue you are having!
Loving this plugin so far, thank you
I do have one issue that I canāt seem to find an answer to. Is there a way to edit the scale of y axis in multi area chart? example if i have a range of numbers, letās say 150 - 200, for y-axis values, the auto scale of y-axis looks good. However, if the range is small, lets say between 120 and 121.5, the scale is misleading as the chart zooms in on the y axis and the difference between 120 and 121.5 looks to be enormous. Any advice on how to alter the scale of y-axis? Thank you
You can set a custom min and max value for the y-axis using these fields:
That way you can control how the y-axis is displayed
thanks! I donāt know how I missed that
another question for you: how can I convert a list of dates to list of texts to be used as series category for x axis in multiple area chart? and is there a way to include more information in the tooltip floating group or just data from a single field for the each item in the series?
Please take a look at the demo: Chartpreview | Bubble Editor
If you are using the default tooltip no, but you can use a custom tooltip to display more information (this is an advanced feature, there is an example on the demo page)
Hi @Thimo Iām getting a bug with the 2nd y-axis data label prefix, Itās carrying over the data label from the left y-axis.
Also, Iām trying to add more than 1 series to the 2nd y-axis, but canāt find how to do this since the 2nd y-axis series field only receives a text. Hopefully you can help me out with this.
Best Regards.
I pushed update 6.77.0 that should fix this issue!
Right now only 1 series is supported for the 2nd y-axis. Instead of adding another series to the 2nd Y-axis, can you not add those series to the 1st y-axis and add the series that is on the 1st y-axis to the 2nd y-axis? (so you end up with 1 series on the 2nd y-axis)
Hi @Thimo thanks for the update, unfortunately the proposed solution wouldnāt work since I 'might have more than 1 series added to each axis, conditioned by the data unit ($, %, etc). Hopefully this functionality can be added in the short term
Hi @Thimo!
Iāve been having trouble with the Treemap chart, the Data Labels are too small and donāt seem to respond to any changes in the āData Label Font Sizeā configurationā¦
Hereās a picture with the graph in the size of 600x900.
Iāll be super thankful if you could help me with this one!
Best regards.
@rafael7 The library will auto scale your labels if it does not fit on the chart and that is what is happening here. Your labels a very long and will therefore be reduced in size to fit the chart. Please reduce the number of characters of your labels and you will see that they will be displayed bigger on the chart (recommended is only 1 or 2 words max):
Hi,
I am having problems setting the single color of the pie chart when reading from a variable. However, when I set it with hexadecimal it works,
What could happen?
@wains Style variables do often not work with plugins as plugins expect a color code. The variables are formatted like --a-variable
and I do not have access to the ārealā color code in the plugin editor. So that is why I would recommend to not use these style variables with plugins (for now). Does that make sense?