I have created a line chart which looks like this
http://i.stack.imgur.com/a7h4l.jpg
and has been done with the following code
new google.visualization.LineChart(document.getElementById('mychart')).draw(
chdata, {
vAxes:[
{title: dataArr.title[0], maxValue: 10,bold:false,textStyle:{color:
'#F96514'},format: f1, viewWindow:{min:0}}, // Left axis
{title: dataArr.title[1], maxValue: 10,bold:false,textStyle:{color:
'#22CEE2'},format: f2, viewWindow:{min:0}} // Right axis
],
tooltip:[ {textStyle:{ bold:false,color:'#D1D1D1'}}],
height: 150,
width: 995,
series:[{targetAxisIndex:0},{targetAxisIndex:1},{targetAxisIndex:3},{targetAxisIndex:4}],
colors: ['#F96514', '#22CEE2','#CCCCCC', '#000000'],
axisTitlesPosition:"none",
chartArea:{left:50,top:40,width:890,height:100},
legend: {position: 'none',bold: false},
focusTarget: 'category',
pointSize: 5,
vAxis:{ baselineColor: '#D1D1D1',gridlines:{count: 3}},
hAxis:{ maxAlternation: 1, maxTextLines:2, minTextSpacing:100,
slantedText:false,textStyle:{color: '#D1D1D1'} }
});
However I want it to look like this http://i.stack.imgur.com/Yx3jp.jpg
any help is appreciated :)
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.