<https://lh3.googleusercontent.com/-xItLyO0tLsU/VxqYsZdceXI/AAAAAAAACA0/YgDhRbVY43w876weQa37I8zxqNPC73gQwCLcB/s1600/line%2Bgoogle%2Bchart.png>
Dear all,
I have a problem with the hAxis this not work in my line google chart. The
graphic is displayed correctly but when I use the hAxis with slantedText
and slantedTextAngle these not have effect in the graphic this continue
display the hAxis horizontal position. My data have the first column with
string and the other columns with number. Your help is appreciated.
function DrawNTRChart() {
var jsonData = {/literal}{$getListaUso}{literal};
var options = {
chart: {
title: 'Trafico NRTDE Clientes Outbound'
},
width: 800,
height: 400,
hAxis: {
textPosition : 'out',
slantedText: true,
slantedTextAngle:90
}
};
var data = new google.visualization.DataTable(jsonData);
var chart = new
google.charts.Line(document.getElementById('line_top_x'));
chart.draw(data, options);
}
--
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/cac7f816-11bf-4572-9993-aad60dcbc53e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.