The slanted text options are not supported by the material charts yet.  If
you want that feature, you might consider using the theme: 'material'
option with classic charts, LineChart in your case.

On Fri, Apr 22, 2016 at 5:34 PM, rodrigo torres <[email protected]>
wrote:

>
> <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
> <https://groups.google.com/d/msgid/google-visualization-api/cac7f816-11bf-4572-9993-aad60dcbc53e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>
[email protected] <[email protected]>   5CC, Cambridge MA

-- 
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/CAOtcSJNL-hS85qkbZPUuW5WD0%2BFencx8rGcyiAvQB%2BSbh-0M3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to