Sorry, Jordan, we don't have a way of getting the generated ticks so you
can apply them to a second axis. But the same ticks will be generated for
two axes if they both have the same viewWindow, so it wouldn't be as hard
to just get the min and max of each series and set your viewWindow.min and
Good afternoon,
I am working on a problem where I need both the Y-Axis tick marks to match,
no matter if the data is shown between the ticks.
For example, series 1 data could be [11, 27, 32, 41]. Series 2 data could
be [0,2, 8].
If the charts automatically generated ticks are [10, 20, 30,
Fixed. Thanks for pointing this out, Bertrand!
Jon
On Sat, Jun 6, 2015 at 8:41 AM, Bertrand Fabre2 fabrebertra...@gmail.com
wrote:
Hello,
Just to let you know the below problem on google-developers in Bar Charts
then in Code it yourself on JSFiddle :
- With error :
script
Thanks for yor answer.
Domain Data it my X Axis, so Date?
Can you please write what should i do in code how to use this 'directon'
option.
Thanks one more time.
понедельник, 8 июня 2015 г., 14:27:31 UTC+2 пользователь Daniel LaLiberte
написал:
Michael,
Your domain data should generally be
It works!
Thanks a lot!!!
понедельник, 8 июня 2015 г., 15:14:46 UTC+2 пользователь Daniel LaLiberte
написал:
hAxis.direction
The direction in which the values along the horizontal axis grow. Specify
-1 to reverse the order of the values.
Type: 1 or -1
Default: 1
hAxis: {
hAxis.direction
The direction in which the values along the horizontal axis grow. Specify -1 to
reverse the order of the values.
Type: 1 or -1
Default: 1
hAxis: {
format: 'd/M/yy',
direction: -1
},
On Mon, Jun 8, 2015 at 8:38 AM, Michael S