Hamzilla
unread,Sep 8, 2011, 4:22:56 AM9/8/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pycha
Hello,
When setting the options for a pycha line graph the tickCount behavior
is not as expected. I set the y-axis to 20 and the x-axis to 10, but
both appear with 10 ticks. If I swop the two options so the y-axis is
set after the x-axis, both appear with 20 ticks. Just to be clear, in
both cases y-axis tickCount = 20 and x-axis tickCount = 10. The order
in which the lines appear determines the final outcome.
Case 1:
options = {
'axis':{'y':{'tickCount':20}},
'axis':{'x':{'label':label_str,'tickCount':
10,'ticks':tick_labels}},
Case 2:
options = {
'axis':{'x':{'label':label_str,'tickCount':
10,'ticks':tick_labels}},
'axis':{'y':{'tickCount':20}},
Thanks,
Rall