The chm parameter is passed using the options similarly to other parameters.

The chd parameter is passed through the visualization DataTable. However,
there is no equivalent way to add the 't1' part description so you would
need the following table format:
In the example of the playground you have labels column followed by 4 number
columns. You need to add the bars column between the labels and the 4 number
columns of the candles.
Additionally, you need to add the option
    options.firstHiddenColumn = 2;
To make the 4 last number columns not to appear as bars.

All other paramets should be passed via options as you did in the charts api
example (including the cht='bvg' and not 'lc').

Hope this helps,
  Viz Kid


On Fri, Nov 27, 2009 at 7:26 PM, triish <[email protected]> wrote:

> Hi,
>
> I have a chart that uses multiple data series (http://code.google.com/
> apis/chart/formats.html#multiple_data_series) to plot a line/bar data
> series along with 4 additional series for candlestick and I'm
> wondering how to add that initial line/bar seriesto the candlestick
> example (http://code.google.com/apis/ajax/playground/?
> type=visualization#image_candlestick_chart)
>
> Here's my chart -- using vertical bars
>
>
> http://chart.apis.google.com/chart?chs=800x375&cht=bvg&chd=t1:30,32,25,25,15,10|25,35,10,20,12,15|30,36,45,47,15,18|30,42,30,27,19,22|35,46,63,59,25,25&chxt=x&chxl=0:|a|b|c|d|e|f&chm=F,777777,1,-1,24,1|N**%,000000,0,-1,12,0&cbh=20,10&chds=0,80
>
> Speicifically, I'm stuck on how to write these parameters :
>
> &chd=t1:30,32,25,25,15,10|25,35,10,20,12,15|30,36,45,47,15,18|
> 30,42,30,27,19,22|35,46,63,59,25,25
> &chm=F,777777,1,-1,24,1|N**%,000000,0,-1,12,0
>
> It's a bit messy with both the label and the financial marker in
> there, admittedly; I'll either be switching between either:or or
> plotting the two of them.
>
> [And truth be told, I'm adapting the high/low/open/close candlesticks
> to represent standard deviation error bars (statistical confidence) --
> as rendered in the first bar in the example above]
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-visualization-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"Google Visualization 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-visualization-api?hl=en.


Reply via email to