Filled Line Graph

577 views
Skip to first unread message

Evan Stern

unread,
Jan 4, 2010, 12:42:52 PM1/4/10
to Google Chart API, ma...@staffknex.com
I'm sure that this has been touched upon before but I didn't see any
posts about it so I'll ask:

I'm trying to generate a line graph with multiple data sets and I
would like to have different colors fill the gaps between the data
sets. So, if my first data set creates (for simplicity's sake) a
straight line at y=4 then I'd like to have y=0 to y=4 colored in blue.

I know this is possible because I've seen it done before but I can't
find any examples of the URL that created the graph.

Thanks in advance!
--Evan

KeithB

unread,
Jan 4, 2010, 5:20:35 PM1/4/10
to Google Chart API
Check out the "Fill Area" section within "Getting Creative - Colors" @
http://code.google.com/apis/chart/colors.html#fill_area_marker

Have fun,
K

Evan Stern

unread,
Jan 5, 2010, 9:03:44 AM1/5/10
to Google Chart API
Thanks! I feel a bit stupid for not seeing it outlined in the api
documentation. /faceslap
Reply all
Reply to author
Forward
0 new messages