BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Dennis,
Thanks for using Syncfusion products.
The first point of area chart is always tweaked from nearest value and also this is the default behavior of chart. So it is tweaked from zero. We can set the min and max range to the chart primary axis dynamically using “Range” property. We suggest you to use the below code snippet to set min and max value to the chart axis.
[CS]
<code>
// Assign the Minimum value of Y-Axis to minY
minY=this.chartControl1.Series[0].Summary.MinY;
// Assign the Maximum value of Y-Axis to maxY
maxY = this.chartControl1.Series[0].Summary.MaxY;
// Customize the Y axis range and interval which has points of type double
this.chartControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set;
// Set the Min and Max range to the Primary Y-Axis
this.chartControl1.PrimaryYAxis.Range.Min = minY;
this.chartControl1.PrimaryYAxis.Range.Max = maxY;
</code>
Please download the sample from the following link.
For more details regarding range and intervals please refer our online document link.
http://help.syncfusion.com/ug/windows%20forms/chart/documents/axisrangeandintervals.htm
Please let us know if you have any concerns.
Thanks,
Bharathiraja K.
Hi
Dennis,
Thanks
for your update.
We have
analyzed your screen shots for negative and positive value and also compare
with Microsoft excel chart. Both charts are rendering in correct format for
positive and negative value. While we give the negative values to the series, the chart would be render as
inverted type and also this is the default behavior. Please check and compare
the excel chart with syncfusion chart from the below link.
Please download the sample’s screen shots from the following link.
Please
let us know if you have any concerns.
Thanks,
Bharathiraja K.
Hi Dennis,
Thanks
for your update.
We are
glad to know that your query has been
resolved. Please let us know if you have any other concerns. We will be happy
to help you out.
Thanks,
Bharathiraja K.