Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
545
Display large values and theming
posted

Hi,

i have this chart

1) the label on the Y axis can have values greater than 1 million, I can set the chart so that they are displayed correctly?

2) the third column is related to the difference between the first two values (2014 and 2013) can be negative or positive. Can I display it with another color?

p.s the data displayed now are fake

Regards,
Mattia


Parents
  • 48586
    Verified Answer
    posted

    Hello,

    Thank you for the provided screen shot.

    In order to achieve your goal to colored specific column with different color, I suggest you to use SatcekdColumnChart (this is the approach that requires with minimum efforts). In the attached sample you will see how I have structured my data in order to achieve such look.

    If you  have financial data with OHLC data, you  could  use a financial series, which does have positive/negative brushes.
    http://help.infragistics.com/iOS/2013.2/?page=IGChartView_Financial_Price_Series_OHLC.html

    Regarding axis labels, you should implement IGChartViewDelegate protocol and to override labelForAxis method in order to provide needed text formatting, you even might shorten the text or to use NSNumberFormater (this approach is commented in my sample, so if you want to evaluate it, you should uncomment it).

     

    Please let me know if you have any further questions.

    132659.zip
Reply Children
No Data