Re: [visualization-api] Make the vAxis go from higher numbers to lower numbers

2016-12-05 Thread 'Daniel LaLiberte' via Google Visualization API
You'll need to use the 'classic' charts in order to use the direction: -1 option. And to use your domain values not for their values but just keep the same order as in the datatable, change those values to strings or add the type: 'category' option to your domain axis. On Mon, Dec 5, 2016 at

Re: [visualization-api] Make the vAxis go from higher numbers to lower numbers

2016-12-05 Thread Bill Rebey
Daniel, this sounds like precisely the same problem that you've been trying to help me with in the question above, titled "Material Bar Charts Always Render in Sorted, Ascending Order. How do I Get Descending Order?", except that my issue is with Bar charts, and yours is with ScatterChart.

Re: [visualization-api] Make the vAxis go from higher numbers to lower numbers

2016-12-01 Thread 'Daniel LaLiberte' via Google Visualization API
Just add vAxis: { direction: -1 } On Thu, Dec 1, 2016 at 5:08 AM, Tiago Peres wrote: > > Hello! How can I make the vAxis go from 10 to 0? > > As you can see, it was not enough what I did here. > > > > > // Callback that draws the pie chart for No Hedge Fund's chart.

[visualization-api] Make the vAxis go from higher numbers to lower numbers

2016-12-01 Thread Tiago Peres
Hello! How can I make the vAxis go from 10 to 0? As you can see, it was not enough what I did here. // Callback that draws the pie chart for No Hedge Fund's chart. function draw0hedgeChart() { var data = new google.visualization.DataTable(); data.addColumn('number', 'X');