SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
I have two question on iOS Chart.
1.How can I customize the display value for tooltip generated by SCICursorModifier? I would like to set the following:
The text color of OHLC value should be set according to prev. close value.
2.The function setVisibleRange is working for SCIDateTimeAxis but not SCICategoryDateTimeAxis
Here is the initialization of the axis:
id axis = [[SCICategoryDateTimeAxis alloc] init];
axis.axisId = @”X1″;
Set the visible range after receiving the data
SCICategoryDateTimeAxis *xAxis = (SCICategoryDateTimeAxis *)[[surface xAxes] getAxisById:@”X1″];
[xAxis setVisibleRange:[[SCIDateRange alloc] initWithDateMin: Max:]];`
I tried to replace the axis type from SCICategoryDateTimeAxis to SCIDateTimeAxis, it works well. Any idea about this?