Be careful not to mix up the material charts with the non-material charts.
They have different options.  google.charts.Line is a material chart.
 google.visualization.LineChart is the non-material chart.  You would also
have to use convertOptions() with the material chart options.

https://developers.google.com/chart/interactive/docs/gallery/linechart#creating-material-line-charts

On Wed, Nov 2, 2016 at 5:00 PM, GC Proxy <craverpr...@gmail.com> wrote:

> I'm specifically trying to make a bode plot with a log xAxis, however no
> matter what settings I set for 'hAxis', nothing seems to take effect. I
> can't set title, log scale... nothing.
>
> I also noted that in the documentation here
> <https://developers.google.com/chart/interactive/docs/gallery/linechart>the
> entry for 'scaleType' gave an example where 'logScale' was 'logscale' so I
> tried that too. None of these settings seems to get me a log graph though.
> I tried this with vAxis as well to no avail.
>
> var options = {
>
> chart: {
>
> title: 'Totally Awesome Graph',
>
> subtitle: 'Check it out!',
>
> },
>
> width: 500,
>
> height: 500,
>
> hAxis: { logscale: true, logScale: true, scaleType: 'log' }
>
> };
>
> var chart = new google.charts.Line(document.getElementById('chart'));
> chart.draw($scope.graphData, options);
>
> The data is created from a text file, and each data row is of type
> 'number', so the graph SHOULD be continuous.
>
> --
> 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 google-visualization-api+unsubscr...@googlegroups.com.
> To post to this group, send email to google-visualization-api@
> googlegroups.com.
> 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/5dd457de-99ed-4e00-8970-
> f0820a91bcc1%40googlegroups.com
> <https://groups.google.com/d/msgid/google-visualization-api/5dd457de-99ed-4e00-8970-f0820a91bcc1%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>
dlalibe...@google.com <dlalibe...@google.com>   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 google-visualization-api+unsubscr...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
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/CAOtcSJMfx6YzvPd_BCM2SMJFP-ONAxg8aSoyjGhii7PhWYCzXA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to