KunLun
KunLun

Reputation: 3225

Google Visualization drow columns in descending order

I have this chart:

Columns are in ascending order (0,1,2...).

How can I change order like 6,5,4...?

Like this:

Upvotes: 1

Views: 19

Answers (1)

WhiteHat
WhiteHat

Reputation: 61222

try using option...

hAxis: {
  direction: -1
}

The direction in which the values along the horizontal axis grow. Specify -1 to reverse the order of the values.

Upvotes: 1

Related Questions