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
995
Problem with Zeroaligned and columnline chart
posted

Hello,

I want my Y axis to always start from zero so I set zeroaligned to true but it still does not work.
I am using a ColumnLine chart.

Thanks

  • 17605
    posted

    I tried:

    this.ultraChart1.ChartType = ChartType.ColumnLineChart;

     

    this.ultraChart1.DataSource = DemoTable.AllPositive();

    this.ultraChart1.DataBind();

     

    this.ultraChart1.Data.ZeroAligned = true;

    And it seems ok. If it’s possible, can you send us some code that you are setting the data to the chart, so we can investigate this issue asap.