Silverlight 4 toolkit, charting and lineSeries is null

Posted by Snake on Stack Overflow See other posts from Stack Overflow or by Snake
Published on 2010-05-02T13:17:03Z Indexed on 2010/05/02 13:28 UTC
Read the original article Hit count: 703

Filed under:
|
|
|
|

Hi,

I create a Silverlight Chart, with the Silverlight 4 toolkit, the April release.

Consider the following chart:

<Grid x:Name="LayoutRoot" Background="White">
    <Charting:Chart Title="Chart to test" Name="MySuperChart">
        <Charting:LineSeries x:Name="MyLineSeries" Title="Something" />
    </Charting:Chart>
</Grid>

So far so good. I can access the Series in the chart by MySuperChart.Series[0] But when I try to reference MyLineSeries, it appears to be null. picture Full view

© Stack Overflow or respective owner

Related posts about visual

Related posts about studio