Unable to find StackingGroup Property in Series in MVC

Posted by: yogesh.nasare on 6 December 2018, 11:13 pm EST

  • Posted 6 December 2018, 11:13 pm EST

    Hi,

    I am Unable to find StackingGroup Property in Series in mVC,

    Any Idea about this.```

    @(Html.C1().FlexChart()

    .Id(CommonConstants.FlexChart.Revenue_flexChart)

    .Bind(“Name”, “RevenueForecastflexChart”)

    .ChartType(C1.Web.Mvc.Chart.ChartType.Column)

    .Stacking(C1.Web.Mvc.Chart.Stacking.Stacked)

    .Series(sers =>

    {

    sers.Add().Binding(“MTDForecastRevenue”).Name(“MTD Forecast”).Style(s => s.Fill(“#FFFF00”));

    sers.Add().Binding(“MTDActualRevenue”).Name(“MTD Actual”).Style(s => s.Fill(“#FFA500”));

    sers.Add().Binding(“Revenuevariance”).Name(“MTD Variance”).Style(s => s.Fill(“##FF0000”));

    })

    .AxisY(y => y.Min(0).AxisLine(true))

    .Legend(Position.None)

    .DataLabel(d1 => d1.Position(C1.Web.Mvc.Chart.LabelPosition.Top).Content(“{y}”))

                    )
    
  • Posted 10 December 2018, 7:03 pm EST

    Hi,

    I am sorry but note sure about the usage of stackingGroup property. Could you please explain your use case, I will try and help you accordingly.

  • Posted 11 December 2018, 6:33 pm EST - Updated 29 September 2022, 1:54 am EST

    Hi,

    Thank you for reply , I want to show multiple color on single bar , by using Stacking Property every bar is converted into multiple color , but If I will use stackinggroup property (which is available in windows) I can decide which bar to show multiple color.I have attached the image in last bar of series I have to show multiple color.

  • Posted 13 December 2018, 11:32 pm EST

    Hi Yogesh,

    For FlexChart in Web application, we do have the stacking property for the FlexChart which stacked all the Column/Bar type series available in FlexChart.

    Please refer to the following demo and let us know if it works or not:

    https://demos.componentone.com/ASPNET/MVCExplorer/FlexChart

    ~Manish

  • Posted 16 December 2018, 5:48 pm EST

    Hi Manish,

    Thanks for reply , As I have mentioned, I want to stack only some column, not all the the column,

    please refer my Image which I have attached.

  • Posted 17 December 2018, 9:17 pm EST

    Hi Yogesh,

    We are sorry, this feature is not supported yet. Hence, we have forwarded this to the concerned team with id 199326. This may be supported in the future releases if found feasible.

    ~Manish

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels