I am trying to get my head around the Bubble Charts Plugin, but it appears to me that it is pretty basic in accepting data in that you first have to sort, sum and do any calculations on the data before being able to show values or labels.
Is this correct?
If so how do others get the data in a format ready to display in the chart?
Correct, Bubble charts at its current version is very limited, and your description is pretty accurate: calculations, sums, labels, etc. are not possible. I canāt say for sure, but I donāt expect Bubble will prioritize improving it at this point, as other plugins can solve it for you.
Iām not at all advanced in charting data but I have been trying to implement Google charts for a very long time I have tried to reach out to many experts in the bubble community but I still have not found a solution.
My preference has always been Google charts over AM charts but I think with the lack of support in the community and with bubble js.charts beng so basic I am going to revisit AM charts for my sustainable solution for displaying my bubble data.
Update: Anyone looking for a chart after trying different option I have found HighCharts to be the better solution, but does require a bit of time (not too much) to become familiar with the code.
If you sign up for the free cloud version you can create and format your chart and then copy the code it generates and pop it into an HTML element.
Create your chart type using the editor in the account and format how you need to using dummy data similar to what you are looking to pull out from the database. (start with one of the many templates).
Then select the āCustomizeā option to grab the code and you will need to remove the " " from the statements. (If not sure go back to the above example.
You will need to copy and paste the cloud code into the following for it to work (donāt past in the code: āvar options = {ā and remove the last ā};ā as we have added this below.
<script>
$(function () {
Highcharts.chart('container', {
//Code for the chart goes in here from the begining which starts with 'chart: {'
});
});
</script>
Once this has been done you can replace the data points with the dynamic data statements from your own application.
HighCharts is free while you develop and they also have a startup license whihc is really inexpensive for the first year and then you can pay for a perpetual license.
An example below is just a quick creation using data from my database using dynamic data, pulling in data from two different areas of my app but showing on the same scale.
No, I havenāt tried that yet. There may be some limitations due to the way Bubble pulls in the data. Looking at this page: https://www.highcharts.com/docs/chart-concepts/series you may be able to pull in data points in a list.
This looks like its really going to fit my needs and It is the best solution so far! But i just cant get the chart to show? I have followed your instructions from the above step by step in detail. Please see below.
I have copied the script to the page header, but itās still not showing? I Have taken it right back to the basics and trying to show the chart on the First chart page following there instructions, ( https://www.highcharts.com/docs/getting-started/your-first-chart ) but I even cannot get that to show?
Once get one chart displayed I know ill be away. So So close now! Any ideas?
From the code you posted looks like you are missing the closing brackets just before the script.
Basically the way this works is that the closing brackets must match the open brackets to hold the different bits of the code. If you check out my example and your code you will see its missing the two closing brackets.
@StevenM Thanks for sharing your success with HighCharts! I think this will help me achieve my charting goals too, but I am having issues getting Bubble data into the chart. Can you post an example of how you integrated dynamic data into the HTML? Thanks!
You can use Dynamic data and replace the hard-coded numbers with your own query. Itās not obvious and easy to miss, but if you double-click in the HTML area or until you see the insert dynamic data label and then you can just add in your own data. See attached image as example.
Note: there are limitations on what you can do with this, basically because of the way you have to format the data to pull it out of Bubble.