SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

Welcome to the SciChart Community Forums!

Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!

Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.

0
0

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:

enter image description here

<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>

Version
4.2
  • You must to post comments
0
0

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

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.