Questions tagged [google-barchart]

18 questions
10
votes
1 answer

How to create custom LegendContentBuilder with charts_flutter library to show and hide series depond on selection?

I used charts_flutter to create BarChart, at current time i want to customise that to build a barChart like below chart: Here i want to do below options: show/hide series when i click on legend which i created in CustomLegend (i create that in my…
Taleb
  • 1,944
  • 2
  • 11
  • 36
2
votes
0 answers

Flutter charts handle legend press

I would like to call a function and still run the default when the user clicks the chart legend as seen in the gif below. The problem is that I couldn't find a way to just to INTERCEPT and not modify the way the legend works. Because I still want…
NovyLevi
  • 522
  • 2
  • 7
  • 18
2
votes
1 answer

Get the data items of a Google Charts histogram bar or range of the bar

I'm trying to create an interactive histogram chart using Google Chart. My code for generating the histogram can be found here.
1
vote
0 answers

Google Charts - bars stacked in front of one another (overlapped), rather than atop one another

I would like to create a vertical bar chart in which bars are stacked in front of one another (overlapped), rather than atop one another. With the height of each bar is its individual value, not its summed value. As descriped here: Image Charts per…
Ben
  • 11
  • 2
1
vote
1 answer

Remove empty space in between hAxis on Google Charts

I have a "vertical" material designed bar chart that receives values like this: [1, 10], [580, 12], [10000, 1] So it renders the xAxis like this: Is there any way for me to remove the empty values of the hAxis and just leave the numbers that have…
1
vote
1 answer

On Google bar charts, I am unable to remove columns which do not have data

My Web Page

1
2