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
630
Little space between group of columns needed
posted

Hello,

i found a sample (source: NUCLiOS 2014 Volume 1\Documents\IGChartView_Column_Series.html). I need the little space on the x axis between every set of "Coal/Hydro/Nuclear/Gas/Oil" and also how to group it ("Canada/China/...).

I might be very useful for me if you can give me the code who exactly does this chart.

Thanks

Johann

Parents
No Data
Reply
  • 18495
    Verified Answer
    posted

    Hello Johann,

    Thank you for contacting Infragistics.

    I've attached a sample project which demonstrates the simplest way of creating groups of columns and specifying the gap between the groups.

    You need to create one IGCategorySeriesDataSourceHelper for each column in a group.  For example, if you want to show groups of three columns each, you need three IGCategorySeriesDataSourceHelper objects.  For each of the data source helpers, you also need an IGColumnSeries object.  Once you add each of the IGColumnSeries objects to the chart, you will see groups of three columns each.

    To specify the gap between each group, use the gap property of the IGCategoryXAxis object.

    Please let me know if you have any other questions about this.

    ChartViewColumnSeriesSample.zip
Children