What do you mean "all lines"
>From your sample you have a line chart and a slider which are bound
together. When changing the slider the line chart are changed. If you mean
to normalize the chart values to be in minimum of 400, you will have to
write a function for that, otherwise i will need more explaining on the
issue.



On 28 באוק 2011, at 07:59, kkatusic <[email protected]> wrote:

Thx for this solution, but I nedd to reset all lines to 400, is this
possible?

On Oct 27, 11:10 am, Roni Biran <[email protected]> wrote:

in that case, what I suggested earlier will not do the trick.

change your chartWrapper to look like this:


lineChart = new google.visualization.ChartWrapper({

chartType : 'LineChart',

containerId : 'chart_div',

options : {

width : 600,

height : 600,

legend : 'right',

vAxis : {

minValue : 400,

viewWindowMode : 'explicit',

viewWindow : {

min : 400}

}

},


view: { columns : [0, 1, 2, 3]} // exclude column 4, year_to_number


});


look that I used the viewWindow with an explicit mode and a minimum of 400.


hope that helps.








On Thu, Oct 27, 2011 at 9:06 AM, kkatusic <[email protected]> wrote:

I mean when you change value in scroll controller, e.g. you set from

2005 to 2007 year and then all lines should start from value 400. I

want this because in some economical charts they use "reset" start

point I don't why I only must create that kind of chart.


On Oct 27, 8:59 am, Roni Biran <[email protected]> wrote:

If you mean to set a minimal value in the line chart, you can do it by

setting the vAxis.minValue attribute to 400


On 27 באוק 2011, at 08:35, kkatusic <[email protected]> wrote:


When I move scroller control (year) , how can I reset lines to start,

e.g. from 400 every time when I change value in scroller control?


Example :http://tt.inspiration4web.com/chart.php


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 athttp://

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.


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