I've been playing with a very similar layout for a bar chart and would
offer this suggestion: what about using two different data series with
different colors? Use the first data series for the positive values,
with the negatives marked as missing data and a second series for the
negative values with the positive values marked as missing? That way
you could have two different colors assigned to the two series.

It feels like a bit of a hack, but it seems to work and I think it
gets closer to the example in your original post.

On Feb 1, 5:57 pm, Chris Hallett <[email protected]> wrote:
> You might consider using axis styles to make the right edge of your
> chart easier to read.
>
> Try adding this to the end of the URL for your chart 
> athttp://tinyurl.com/yb5omzx
>
> chxs=3,000000,10,1,l
>
> That will remove the tick marks (that could be mistaken for - sign)
> and make the numbers right aligned so the decimal points will line up.
>
> -Chris
>
>
>
> On Mon, Feb 1, 2010 at 6:17 PM, Ollie <[email protected]> wrote:
> > Thanks so much for that - fixed all my problems, and I'm now really
> > enjoying working with this API.
>
> > Cheers Keith!
>
> > :)
>
> > P.S.
> > Here's the finished, dynamically generated image!http://tinyurl.com/yb5omzx
>
> > On Feb 1, 2:07 pm, KeithB <[email protected]> wrote:
> >> The Chart API can come close to replicating it:http://tinyurl.com/ya6vhvh
>
> >> - See the Bar Chart Zero Line section 
> >> @http://code.google.com/apis/chart/styles.html#zero_line
> >> - I don't believe you'll be able color the negative/positive bars
> >> differently, so I added red/green marker shape markers, but you can
> >> also use colored text
> >> - You'll want to manually specify your x-axis values using CHXL
> >> instead of CHXR if you need the currency symbol
>
> >> Have fun,
> >> Keith
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google Chart API" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to 
> > [email protected].
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-chart-api?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-chart-api?hl=en.

Reply via email to