chart: {
title: 'Totally Awesome Graph',
subtitle: 'Check it out!',
},
width: 500,
height: 500,
hAxis: { logscale: true, logScale: true, scaleType: 'log' }};
--
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+unsub...@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.
For more options, visit https://groups.google.com/d/optout.
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.
On Wed, Nov 2, 2016 at 5:00 PM, GC Proxy <crave...@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 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+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@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.
For more options, visit https://groups.google.com/d/optout.
Well in any case I'll move to classic for now. I've got it working on classic, but it's a shame I can't get the material version to work.Thanks for the help.
--
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+unsub...@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/82a9731d-b6f2-4584-9ee2-b36447f04fd6%40googlegroups.com.