The bar and area series UseOrigin property has been replaced with the OriginMode property accepting values from the SeriesOriginMode enumeration. The following code snippets show how to convert old code which sets this code to true:
[OldCode]
C# |
Copy Code
|
---|---|
barSeries.UseOrigin = true; |
VB.NET |
Copy Code
|
---|---|
barSeries.UseOrigin = True |
[NewCode]
C# |
Copy Code
|
---|---|
barSeries.OriginMode = SeriesOriginMode.CustomOrigin; |
VB.NET |
Copy Code
|
---|---|
barSeries.OriginMode = SeriesOriginMode.CustomOrigin |