As long as your transformation into percents is a linear function and not 
based off of something else, and there is nothing else (like a third 
series) to influence the axis ranges, then the two series should draw 
overlapped one on top of the other.  See an example here: 
http://jsfiddle.net/asgallant/qUFLP/ 

As far as coloring the axis labels, you can't change color by value.

On Sunday, August 26, 2012 10:44:13 PM UTC-4, Ji Joe wrote:
>
> gratitude!you means that separate one data into two series,one is to right 
>  and one is to left ,and hide one serie?But how to make them perform like 
> one.I really need your example ,thank you a lot !
> I also have another question whether it possible. i want a vaxis whose 
>  texts' colors are different .For example ,if the scale is bigger than zero 
> ,the color of the text in the vaxis is red,on the contrary ,the color is 
> green.
> Can it be possible ?
> Thank you for your help. 
>
> 在 2012年8月27日星期一UTC+8上午10时22分20秒,asgallant写道:
>>
>> You can't have two y-axes running off the same data, but you can convert 
>> your single data series into two data series (one with the base data and 
>> one with the base data converted to percentages).  Assign one to the left 
>> axis and one to the right axis using the 
>> series.<seriesIndex>.targetAxisIndex option.  You can then configure the 
>> two vAxes using the vAxes.<axisIndex> option (which takes sub-options like 
>> the vAxis option).  I can do up an example tomorrow if you need one.
>>
>> On Sunday, August 26, 2012 10:04:31 PM UTC-4, Ji Joe wrote:
>>>
>>> Hi,I'm a beginner of google chart tools.
>>> I have a problem that i need to peform some financial datas in the chart 
>>> .And the left vaxis shows the real number and the left vaxis shows it's 
>>> percent of the total .
>>> I think the two vaxies should share the same series,but i dont know how 
>>> to do.
>>> thanx.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/nSzIZ_fkMbkJ.
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