5 messages in com.googlegroups.google-chart-apiRe: sparklines
FromSent OnAttachments
danibto07 Dec 2007 02:31 
Uwe Maurer09 Dec 2007 19:06 
riezebosch24 Jan 2008 02:38 
riezebosch24 Jan 2008 04:51 
Adam Greene24 Jan 2008 15:20 
Subject:Re: sparklines
From:riezebosch (man@filternet.nl)
Date:01/24/2008 02:38:39 AM
List:com.googlegroups.google-chart-api

Uwe Maurer wrote:

Hi !

On Dec 7, 11:31 am, danibto <dani@gmail.com> wrote:

i'm building sparlines for an app, and i found 2 problems to do it:

- how can i hide the axis lines?

We will add a new line chart type for sparklines that has the axis lines disabled.

Until then you can use this:

http://chart.apis.google.com/chart?cht=lc&chs=100x50&chd=s:ABcd34GFh&chco=1E90FF&chxt=x%2Cy&chxs=0%2C000000%2C10%2C0%2C_%7C1%2C000000%2C10%2C0%2C_&chxl=0:%7C%7C1:%7C

It adds and x and y axis and then uses the chxs parameter to turn off the axis lines. The last parameter of chxs is '_' which means no lines and no ticks. (also 't' for ticks, and 'l' for lines and 'lt' for both works, we will add this to the documentation)

- i want to put a shape marker on end point, but the chart hasn't enough margins and the marker appears broken, how can i set the chart margins

We will add a parameter to control the margin.

Thanks, Uwe

The workaround has some nasty side-effect that it introduces an unwanted margin. Check the difference: http://chart.apis.google.com/chart?cht=lc&chs=100x50&chd=s:ABcd34GFh&chco=1E90FF&chxt=&chxs=0,000000,10,0,_|1,000000,10,0,_&chxl=0:||1:|