interpolate missing data: area chart and formatting of lines

1,152 views
Skip to first unread message

Sam Halliday

unread,
Dec 11, 2011, 12:56:09 PM12/11/11
to Google Visualization API
Dear all,

There doesn't appear to be an obvious way to interpolate between
missing data points in an AreaChart... is it possible to do this?

Additionally, I can't find any way to change the formatting of
interpolated lines in a LineChart.

What I was hoping to achieve was for missing area and line data to be
interpolated and displayed in a more opaque version of the normal
colour scheme - possibly even the lines as dashed lines. (And to be
doing this in a ComboChart).

Regards, Sam

Roni Biran

unread,
Dec 12, 2011, 3:02:21 AM12/12/11
to google-visua...@googlegroups.com
I agree that the interpolateNulls option in the areaChart is missing. You can open an issue on this here:  http://code.google.com/p/google-visualization-api-issues/issues/list

This goes for your interpolation formatting as well. Now that the line formatting (scope and emphasis) exist, I believe that it won't be long till it will exist.




--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Viz Kid

unread,
Dec 12, 2011, 8:09:10 AM12/12/11
to google-visua...@googlegroups.com

As Roni suggested, you can already today interpolate the missing data on your own and mark it as uncertain. This will cause the interpolated line segments to be dashed.

Hope this helps,
  Viz Kid

Sam Halliday

unread,
Dec 14, 2011, 12:55:12 PM12/14/11
to Google Visualization API
Excellent - think I'll do that for the lines.

I might create separate columns for all the interpolated missing area
data, so that I can display it with a faded transparency effect.

That should work as a hack until this sort of thing is supported
directly by the API.

On Dec 12, 1:09 pm, Viz Kid <viz...@google.com> wrote:
> As Roni suggested, you can already today interpolate the missing data on
> your own and mark it as uncertain. This will cause the interpolated line
> segments to be dashed.
> You can read more about roles here:http://code.google.com/apis/chart/interactive/docs/roles.html

> and specifically about certainty here:http://code.google.com/apis/chart/interactive/docs/roles.html#certain...


>
> Hope this helps,
>   Viz Kid
>
>
>
>
>
>
>
> On Mon, Dec 12, 2011 at 10:02 AM, Roni Biran <roni.bi...@gmail.com> wrote:
> > I agree that the interpolateNulls option in the areaChart is missing. You
> > can open an issue on this here:
> >http://code.google.com/p/google-visualization-api-issues/issues/list
>
> > This goes for your interpolation formatting as well. Now that the line
> > formatting (scope and emphasis) exist, I believe that it won't be long till
> > it will exist.
>

EZChart

unread,
Dec 15, 2011, 1:40:00 AM12/15/11
to google-visua...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages