How to custom NSDate x-axis majorTick


#1

Dear guys,

It‘’ a good id to custom NSNumber y-axis majorTick with

 - (NSArray *)sChart:(ShinobiChart*)chart majorTickValuesForAxis:(SChartAxis *)axis{}

But it seems that  can’t custom NSDate x-axis majorTick with it. Does it not suppost custom NSDate x-axis majorTick?

Please help and reply me.

Thanks & Regards


#2

I’v solved it.

I used the old Shinobi version to test. The old version hasn’t ‘- (void)sChart:(ShinobiChart *)chart alterTickMark:(SChartTickMark *)tickMark beforeAddingToAxis:(SChartAxis *)axis {}’ method.