Charting: ColumnDataPoint styling error?

Jul 3, 2009 at 7:02 AM
Edited Jul 3, 2009 at 7:03 AM

I have the following style for the ColumnDataPoint

            <Setter Property="Background" Value="DarkGray"/>
            <Setter Property="Template">
                    <ControlTemplate TargetType="chartingToolkit:ColumnDataPoint">
                        <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" >
                                    <RowDefinition />
                                    <RowDefinition />
                                <Border Background="Red" />
                                <Border Grid.Row="1" Background="Yellow" />


I should see a column split in two: red and yellow. But that doesn't happen. Why?