Hi Tripp,
I noticed this change was just recently checked in
[http://yuilibrary.com/projects/yui2/ticket/2002172]
I'll grab the new preview 2.8, but would it be possible to give a short example
about how to do this? For instance, I'd like to put a line graph in one range
(0-100) and a bar graph in another (8000-10000) on the same chart, do I just set
two separate SeriesDefs? Thanks much, matt
--- In ydn-javascript@yahoogroups.com, "tripp.bridges" <trippb@...> wrote:
>
>
> Hi Jacob,
>
> Unfortunately, there is not an option for two y-axes in the YUI Charts
> at this point. Currently, the best option for your scenario is to use
> 2 charts.
>
> Thanks,
> Tripp
>
> --- In ydn-javascript@yahoogroups.com, "jacob.fogg" <jacob.fogg@>
> wrote:
> >
> > I am blown away by the ease of use with basic DataTable and Chart
> > functionality! I was able to implement both using a complex set of
> > dynamic data in a matter of 20 minutes!
> >
> > Ok, so I am wondering if there is a way to have 2 y-axis scales. I am
> > plotting 2 sets of data against a set of dates. One of the datasets
> > is in the range of tens-of-thousand while the other set is in the
> > range of hundreds. I am trying to find a useful method of plotting
> > the two. Ideally, on the left I'd like to have the scale for the
> > ten-thousands and on the right the scale for the hundreds. Here is a
> > sample dataset:
> >
> > date,pageviews,sales
> > 6-1-2008,12484,353
> > 6-2-2008,18242,124
> > 6-3-2008,10858,76
> > 6-4-2008,13485,186
> >
> > Currently I have this nice line plotted for the pageviews, but the
> > sales looks like it's flatlined at 0...
> >
> > Any thoughts or suggestions on the best way to plot data like this
> > would be greatly appreciated!
> >
> > Jacob Fogg
> >
>