Issue 1942 in google-visualization-api-issues: Bug: redrawing matterial bar chart will make bars thicker

0 views
Skip to first unread message

google-visualiz...@googlecode.com

unread,
Mar 31, 2015, 7:57:49 AM3/31/15
to google-visualiz...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1942 by rpwverh...@gmail.com: Bug: redrawing matterial bar chart
will make bars thicker
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1942

What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. draw a material bar chart
2. update the chart as defined in the docs (using
chart.draw(updatedData,options)
3. iterate a few times and look at the chart

You will see the chart bars getting thicker each time the chart is redrawn.
The chart itself will also get bigger (more height) because of this.


What component is this issue related to (PieChart, LineChart, DataTable,
Query, etc)?

Material Bar Chart

Are you using the test environment (version 1.1)?
(If you are not sure, answer NO)

yes

What operating system and browser are you using?

Windows 8.1 / latest chrome

*********************************************************
For developers viewing this issue: please click the 'star' icon to be
notified of future changes, and to let us know how many of you are
interested in seeing it resolved.
*********************************************************


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google-visualiz...@googlecode.com

unread,
Mar 31, 2015, 9:52:27 AM3/31/15
to google-visualiz...@googlegroups.com
Updates:
Status: Accepted
Owner: gra...@google.com

Comment #1 on issue 1942 by gra...@google.com: Bug: redrawing matterial bar
Hi, I'm not really sure what you mean. I just tried to reproduce your
issue, and was unable to. I'm not sure what you mean by "bars get thicker"
nor by "the chart will get bigger". If you could post a jsfiddle
reproducing this issue, that would be idea. Here is my attempt at
reproducing it: http://jsfiddle.net/308seugL/

google-visualiz...@googlecode.com

unread,
Apr 1, 2015, 4:17:41 AM4/1/15
to google-visualiz...@googlegroups.com

Comment #2 on issue 1942 by rpwverh...@gmail.com: Bug: redrawing matterial
Hey, took a bit of research, but I managed to recreate the issue from your
fiddle.
It only seems to happen if I don't set a width & height in the options, and
if I use:

var data = google.visualization.arrayToDataTable(rawData);

to convert the data that I already have to a DataTable.

https://jsfiddle.net/308seugL/4/

google-visualiz...@googlecode.com

unread,
Apr 1, 2015, 4:30:23 AM4/1/15
to google-visualiz...@googlegroups.com

Comment #3 on issue 1942 by rpwverh...@gmail.com: Bug: redrawing matterial
sorry, should be http://jsfiddle.net/308seugL/4/

google-visualiz...@googlecode.com

unread,
May 1, 2015, 10:38:50 AM5/1/15
to google-visualiz...@googlegroups.com
Updates:
Status: Fixed

Comment #4 on issue 1942 by gra...@google.com: Bug: redrawing matterial bar
This should be fixed with the new release.
Reply all
Reply to author
Forward
0 new messages