I added DataView at to the bottom of code, but nothing changed.

List is: http://tt.inspiration4web.com/EA_test_chart.php

Maybe I'm missing somethig?

Thx

On Sep 22, 10:50 am, ChartMan <[email protected]> wrote:
> Hi
>
> You can use a 
> google.visualization.DataView<http://code.google.com/apis/chart/interactive/docs/reference.html#Dat...>over
> your DataTable and for that column pass in a function with the 'calc'
> option that returns toString() of the row value.
>
> var dataView1 = new google.visualization.DataView(dataTable);
> dataView1.setColumns([{'calc': toStringFun, 'sourceColumn': 0, 'type':
> 'string'},...]);
>
> HTH
> ChartMan
>
>
>
>
>
>
>
> On Wed, Sep 21, 2011 at 1:03 PM, kkatusic <[email protected]> wrote:
> > I created google line chart with "linear" control. First column that I
> > defined was year ( data.addColumn('string', 'Year'); ) and column
> > represents x-axis of chart, example is on link:
>
> >http://tt.inspiration4web.com/EA_test_chart.php
>
> > I want to set up "year" instead "Sales" in control linear scroll bar.
> > The problem is that year must be string type and I can't set up string
> > value to linear bar control, have you any experience for google chart
> > and any suggestion that would help me.
>
> > Thx
>
> > --
> > 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.

-- 
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