Search code examples
iphoneiosios5ios6core-plot

Core Plot : How to set two data labels for each candle stick in candle stick graph?


I want to set two data labels for each candle stick in candle stick graph, one data label above candle stick and the other data label below the candle stick. In the example provided by Core Plot Framework, one data label is present for each candle stick by default, and I am not able to set the second data label. Please help me. Thanks in advance.


Solution

  • Either make plot space annotations for the second labels or create a second plot. Have the second plot only display data labels but no plot data (set all line styles and fills to nil).