Issue 1948 in google-visualization-api-issues: Bug: Combo chart Label data questioned

1 view
Skip to first unread message

google-visualiz...@googlecode.com

unread,
Apr 6, 2015, 9:29:29 PM4/6/15
to google-visualiz...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1948 by whiteblu...@gmail.com: Bug: Combo chart Label data
questioned
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1948

What steps will reproduce the problem? Please provide a link to a
demonstration page if at all possible, or attach code.
1. Database linked data
2. Combochart seriesType : "line", "bars" attach file
Change only serize type with the same data
What varies is why the value of the X-axis labels


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


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

What operating system and browser are you using?
IE11, google 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.
*********************************************************


Attachments:
linechart.png 18.3 KB
barchart.png 17.2 KB

--
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,
Apr 9, 2015, 10:46:36 AM4/9/15
to google-visualiz...@googlegroups.com

Comment #1 on issue 1948 by dlalibe...@google.com: Bug: Combo chart Label
data questioned
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1948

The options you are using with your chart could make a difference here,
even though your data is the same. Options that affect only bars vs lines
could affect how much data will be visible in your chart.

google-visualiz...@googlecode.com

unread,
May 6, 2015, 6:14:43 PM5/6/15
to google-visualiz...@googlegroups.com

Comment #2 on issue 1948 by historic...@gmail.com: Bug: Combo chart Label
data questioned
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1948

One thing I've seen in testing is that if the x-axis data is formatted
as "string" e.g. by a data view, and there is a relatively large number of
data rows, the amount of data displayed will be very limited in a combo bar
chart. Strangely, if it's a line combo, there is no problem. If the x-axis
data is formatted as e.g. datetime, there is no problem in either case. The
string vs datetime behavior makes sense, one is treated as discrete and the
other continuous according to the docs:
https://developers.google.com/chart/interactive/docs/customizing_axes#Discrete_vs_Continuous

But is there a reason for the difference between line and bar charts w/
string labels?

Also, it seems the chart editor introduces the string formatting in an
undesired way, see http://jsfiddle.net/historic_bruno/u2w3dyn7/ (maybe a
topic for another bug report)

google-visualiz...@googlecode.com

unread,
May 7, 2015, 9:01:17 AM5/7/15
to google-visualiz...@googlegroups.com
Updates:
Status: Accepted

Comment #3 on issue 1948 by dlalibe...@google.com: Bug: Combo chart Label
data questioned
https://code.google.com/p/google-visualization-api-issues/issues/detail?id=1948

I can see the distinction regarding the bars vs lines in the charteditor in
the jsfiddle you linked to, historic_bruno. It seems that the charteditor
assumes combocharts have a discrete domain axis, at least if the domain
data is datetime, even though the combochart itself is drawn correctly
before the charteditor is invoked. This would appear to be a bug in the
charteditor.

This might explain what whiteblue65 posted about, if they are also using
the charteditor.
Reply all
Reply to author
Forward
0 new messages