discrete and continuos chart

242 views
Skip to first unread message

Jose Miguel Ramírez Escobedo

unread,
Jul 17, 2012, 2:24:00 PM7/17/12
to google-visua...@googlegroups.com

hello, i don´t understand how a chart can be a discrete  or continuous, what it said is that if i have a column with string is a discrete but if is number,date, etc... is a continuous, but if i have columns combined i mean a   string colum, a number column what´s up?

asgallant

unread,
Jul 17, 2012, 3:15:26 PM7/17/12
to google-visua...@googlegroups.com
Whether a chart is discrete or continuous depends on the data type of the domain column: string types are discrete, number/date/datetime types are continuous.  See the difference here: http://jsfiddle.net/asgallant/Xfx3h/ 

Jose Miguel Ramírez Escobedo

unread,
Jul 17, 2012, 4:47:08 PM7/17/12
to google-visua...@googlegroups.com
ok but for example if i want to draw countries and lets say numbers of cities thar each one has, so in the x-axis should be a string data type for the name of the country but in the y-axis should be a number data type for the number or cities so if there is a string column and a number column, is a discrete or continuous chart?

asgallant

unread,
Jul 17, 2012, 4:53:37 PM7/17/12
to google-visua...@googlegroups.com
In that case, it would be a discrete chart, because the domain (axis) column is type string.
Reply all
Reply to author
Forward
0 new messages