AreaDataPoint in SL3 Chart is Fixed Size

Posted by Wonko the Sane on Stack Overflow See other posts from Stack Overflow or by Wonko the Sane
Published on 2010-04-19T19:06:18Z Indexed on 2010/04/19 19:13 UTC
Read the original article Hit count: 388

In Silverlight 3, it appears that the AreaDataPoint template ignores any size set in its ControlTemplate.

<ControlTemplate TargetType="chartingTK:AreaDataPoint">
    <Grid x:Name="Root" Opacity="1">

<!-- Width and Height are ignored -->
        <Ellipse Width="75" Height="25" 
                    StrokeThickness="{TemplateBinding BorderThickness}" 
                    Stroke="OrangeRed" 
                    Fill="{TemplateBinding Background}"/>
    </Grid>
</ControlTemplate>

Does anybody know of a workaround?

© Stack Overflow or respective owner

Related posts about Silverlight

Related posts about silverlight-3.0