Yes, you can do that.  The vAxes option takes two objects as it's 
parameters, each of which takes the same suboptions as vAxis.  vAxes.0 
controls the left y-axis, and vAxes.1 controls the right axis.  The x-axis 
should take care of itself, as long as you are using a "timeofday" type 
column in your DataTable.  You can set hAxis.format to change how the time 
is displayed.  Here's an example of what those options might look like for 
you:

var foo = {
    hAxis: {
        format: 'hh:mm a' // 03:47 PM
    },
    vAxes: {
        0: {
            // left y-axis options
            format: '#\u00B0C', // 23°C
            minValue: 10,
            maxValue: 30
        },
        1: {
            // right y-axis options
            format: '#%', // 0.34 -> 34%
            minValue: 0,
            maxValue: 1
        }
    }
}

All of the configuration options are explained 
here<https://developers.google.com/chart/interactive/docs/gallery/linechart#Configuration_Options>
.

On Thursday, November 29, 2012 9:46:11 AM UTC-5, Tomáš Hora wrote:
>
> Hello everyone!
>
> Example: I have x-axis representing time of day, and on the left side of a 
> LineChart I want to have temperature (10 - 30°C) and on the right side I 
> want to have percentage of power of a unit ( 0 - 100%). Is it possible to 
> achieve this using google charts (HOW?)? Thanks a lot i advance!
>

-- 
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/-/lpo4-fizAB8J.
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