Is there any way to configure the padding on a pie/donut chart? I’m trying to squeeze a few in a dashboard type arrangement and there’s about 100px of padding either side of the doughnut itself that’s taking up a lot of space:
<s:SciChartDonutSurface Grid.Column="0"
SegmentSpacing="4"
ItemsSource="{Binding DonutModels}"
ShowLegend="False"
ShowOutsideLabel="False"
BorderBrush="Black" BorderThickness="1"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
MinHeight="300" MinWidth="300" AllowClickSelection="False" AllowMultiSelect="False"
ShowTooltip="False">
<s:SciChartDonutSurface.ItemTemplate>
<DataTemplate DataType="gauge:DonutSegmentViewModel">
<s:DonutSegment Fill="{Binding Fill, Mode=TwoWay}"
IsSelected="{Binding IsSelected, Mode=TwoWay}"
SegmentValue="{Binding Value, Mode=TwoWay}"
Text="{Binding Name, Mode=TwoWay}"
Stroke="{Binding Stroke, Mode=TwoWay}"
StrokeThickness="{Binding StrokeThickness, Mode=TwoWay}"/>
</DataTemplate>
</s:SciChartDonutSurface.ItemTemplate>
- Ken Hobbs asked 8 years ago
- last edited 8 years ago
- You must login to post comments
Hi there,
This issue was fixed in latest version (#v4.2.2.9744 ). Could you please try it out and let us know if everything works fine.
Best regards,
Taras B.
SciChart Developer
- Taras Bulka answered 8 years ago
- You must login to post comments
Please login first to submit.