Chart axis majorTickMark with type NestedNoneSet does not work if we want to remove it:
Created originally on Bitbucket by edd_ (Edd)
Hi,
I wanted to remove majorTickMark
, so I had to change the code in chart\axis.py
in class definition:
#!python
class _BaseAxis(Serialisable):
(...)
majorTickMark = NestedSet(values=(['none', 'cross', 'in', 'out']))
minorTickMark = NestedSet(values=(['none','cross', 'in', 'out']))
(...)
and init function:
#!python
def __init__(self,
(...)
majorTickMark='none',
minorTickMark='none',
(...)
Don't know if this is the best way to do it, but worked for me.
Thanks,
Edd