Chart for WinRT
Changing the Offset for All Slices

To change the offset for all Pie slices, use the following code:

C#
Copy Code
PieOptions.SetOffset(c1Chart1, 0.1);

The valid offset range is from 0 to 1.

It is possible to change the offset for a specific slice, but that has to be done manually by changing the position in DataSeries.PlotElementLoaded event. 

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback