Y Axis labels

4 views
Skip to first unread message

Isteel

unread,
Sep 27, 2010, 7:47:42 AM9/27/10
to ZiYa Plugin
Hi,

I'm just starting out with ZiYa and can't trackdown how to do this,
could someone help please:

- How do you change the size of the y-axis auto generated labels
- Is it possible to make them always be multiples of 10 for example,
rather than the 9, 18, 27, 36 I see sometimes.

Where is the theme documentation. At the moment I have to cutnpaste
from the galeria examples and see what effect, if any, it has on my
chart to be able to work out what those yml settings do.

Thanks,

Ian

fernand...@gmail.com

unread,
Sep 28, 2010, 10:15:23 AM9/28/10
to ZiYa Plugin
Hi Isteel,

You can customize the y-axis using the axis_category component in
your yml themes.
Mind the spacing but it should look something like this:

<%=comp :axis_category %>
skip: 10

This should show values 10 apart. You can also specify a min and
max in a similar way.
Ziya uses xml/swf and piggy back off their docs here
http://www.maani.us/xml_charts/index.php?menu=Reference&submenu=axis_category

-Fernand
Reply all
Reply to author
Forward
0 new messages