<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help with a simple Line Chart in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85164#M2089</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You feature layer ID is WellsFeatureLayer (not WellsLayer).&lt;BR /&gt; &lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
Path=Layers[Wells&lt;SPAN style="color:red;"&gt;Feature&lt;/SPAN&gt;Layer].Graphics
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dominique-&amp;nbsp; If I set it to WellsFeatureLayer then I get the attached error message (picture attached).&amp;nbsp; It states an Object Reference is not set.&amp;nbsp; Did I declare the WellsFeatureLayer correctly or did I need to publish my MapService as something more than just a MapService?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;esri:FeatureLayer ID="WellsFeatureLayer" Url="http://serverprd02/ArcGIS/rest/services/SilverLightDir/Wells_Timeline/MapServer/0" /&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:17:09 GMT</pubDate>
    <dc:creator>JoshV</dc:creator>
    <dc:date>2021-12-10T23:17:09Z</dc:date>
    <item>
      <title>Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85154#M2079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello All-&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a simple Silverlight Application that uses a Timeline and I just want to put in a simple Line Chart above the timeline that will dynamically change if possible.&amp;nbsp; I've been looking at this link (&lt;/SPAN&gt;&lt;A href="http://www.silverlight.net/content/samples/sl4/toolkitcontrolsamples/run/default.html"&gt;http://www.silverlight.net/content/samples/sl4/toolkitcontrolsamples/run/default.html&lt;/A&gt;&lt;SPAN&gt;) but in the Line Series Section for the XAML I do not understand how they are passing the values to the chart.&amp;nbsp; Does anyone have any good examples of code that show the chart linked to a layer in the Map?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Many Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 20:48:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85154#M2079</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-09T20:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85155#M2080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have not used LineSeries myself but if you look at the code and chart sample, you will notice that they set ItemsSource, IndependentValueBinding (X-axis) and DependentValueBinding (Y-axis). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; &amp;lt;chartingToolkit:Chart Title="Typical Use"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;chartingToolkit:ChartSeries&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;chartingToolkit:LineSeries Title="Particulate Levels" ItemsSource="{Binding LevelsInRainfall, Source={StaticResource ParticulateLevel}}" IndependentValueBinding="{Binding Rainfall}" DependentValueBinding="{Binding Particulate}"/&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/chartingToolkit:Chart.Series&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/chartingToolkit:Chart&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This might also be helpful: &lt;/SPAN&gt;&lt;A href="http://leeontech.wordpress.com/2009/03/13/showing-and-hiding-series-in-chart/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://leeontech.wordpress.com/2009/03/13/showing-and-hiding-series-in-chart/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:16:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85155#M2080</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-10T23:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85156#M2081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have not used LineSeries myself but if you look at the code and chart sample, you will notice that they set ItemsSource, IndependentValueBinding (X-axis) and DependentValueBinding (Y-axis). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jennifer-&amp;nbsp; Where is "Rainfall" and "Particulate" coming from?&amp;nbsp; I can tell its affecting the X and Y axis but am not sure where exactly its coming from.&amp;nbsp; Also what would I do differently to have it read from a layer in my Map?&amp;nbsp; Thanks Jennifer&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2011 22:26:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85156#M2081</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-09T22:26:01Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85157#M2082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you need to get one line or one column by graphic, the ItemSources of your chart can be the Graphics property of your layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Something like (based on this sample : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#TemporalRendererTracks" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#TemporalRendererTracks&lt;/A&gt;&lt;SPAN&gt;) :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart.Series&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;ColumnSeries&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Title&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"Wind Speed"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; ItemsSource&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; ElementName&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;MyMap&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Path&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;Layers&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;MyHurricaneFeatureLayer&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;].&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;Graphics&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; IndependentValueBinding&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Attributes&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;EVENTID&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;]}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; DependentValueBinding&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Attributes&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;WINDSPEED&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;]}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;ColumnSeries&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart.Series&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then, when using TimeAware layers, the difficulty is to filter the graphics in order your chart to display only the graphics in the current time extent and/or only the last observations.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Let do that with the hurricane sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Let's write a method returning the graphics corresponding to the last observations of the time extent (thanks LINQ):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;IEnumerable&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color:#2b91af;"&gt;Graphic&lt;/SPAN&gt;&amp;gt; GetLastObservations(&lt;SPAN style="color:#2b91af;"&gt;IEnumerable&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color:#2b91af;"&gt;Graphic&lt;/SPAN&gt;&amp;gt; graphics)
{
&lt;SPAN style="color:blue;"&gt;return&lt;/SPAN&gt; &lt;SPAN style="color:blue;"&gt;from&lt;/SPAN&gt; g &lt;SPAN style="color:blue;"&gt;in&lt;/SPAN&gt; graphics
&lt;SPAN style="color:blue;"&gt;where&lt;/SPAN&gt; g.TimeExtent.Intersects(MyMap.TimeExtent)
&lt;SPAN style="color:blue;"&gt;group&lt;/SPAN&gt; g &lt;SPAN style="color:blue;"&gt;by&lt;/SPAN&gt; g.Attributes[&lt;SPAN style="color:#a31515;"&gt;"EVENTID"&lt;/SPAN&gt;] &lt;SPAN style="color:blue;"&gt;into&lt;/SPAN&gt; grp
&lt;SPAN style="color:blue;"&gt;select&lt;/SPAN&gt; grp.OrderByDescending(g =&amp;gt; g.Attributes[&lt;SPAN style="color:#a31515;"&gt;"Date_Time"&lt;/SPAN&gt;]).First();
}
&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN&gt; 2) Define a property to return the LastObservations:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:blue;"&gt;readonly&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;ObservableCollection&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color:#2b91af;"&gt;Graphic&lt;/SPAN&gt;&amp;gt; _lastObservations = &lt;SPAN style="color:blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;ObservableCollection&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color:#2b91af;"&gt;Graphic&lt;/SPAN&gt;&amp;gt;();
&lt;SPAN style="color:blue;"&gt;public&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;ObservableCollection&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color:#2b91af;"&gt;Graphic&lt;/SPAN&gt;&amp;gt; LastObservations { &lt;SPAN style="color:blue;"&gt;get&lt;/SPAN&gt; { &lt;SPAN style="color:blue;"&gt;return&lt;/SPAN&gt; _lastObservations; } }
&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) Define a method setting this LastObservations property:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:blue;"&gt;void&lt;/SPAN&gt; SetLastObservations()
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:blue;"&gt;var&lt;/SPAN&gt; layer = MyMap.Layers[&lt;SPAN style="color:#a31515;"&gt;"MyHurricaneFeatureLayer"&lt;/SPAN&gt;] &lt;SPAN style="color:blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;GraphicsLayer&lt;/SPAN&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp; LastObservations.Clear();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:blue;"&gt;foreach&lt;/SPAN&gt; (&lt;SPAN style="color:blue;"&gt;var&lt;/SPAN&gt; g &lt;SPAN style="color:blue;"&gt;in&lt;/SPAN&gt; GetLastObservations(layer.Graphics))
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LastObservations.Add(g);
}&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000;"&gt;4) Call SetLastObservations when the collection can change i.e. when the feature layer updates and when the time extent changes:&lt;/SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:blue;"&gt;void&lt;/SPAN&gt; FeatureLayer_UpdateCompleted(&lt;SPAN style="color:blue;"&gt;object&lt;/SPAN&gt; sender, &lt;SPAN style="color:#2b91af;"&gt;EventArgs&lt;/SPAN&gt; e)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; SetLastObservations();
}
 
&lt;SPAN style="color:blue;"&gt;private&lt;/SPAN&gt; &lt;SPAN style="color:blue;"&gt;void&lt;/SPAN&gt; MyMap_PropertyChanged(&lt;SPAN style="color:blue;"&gt;object&lt;/SPAN&gt; sender, System.ComponentModel.&lt;SPAN style="color:#2b91af;"&gt;PropertyChangedEventArgs&lt;/SPAN&gt; e)
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color:blue;"&gt;if&lt;/SPAN&gt; (e.PropertyName == &lt;SPAN style="color:#a31515;"&gt;"TimeExtent"&lt;/SPAN&gt;)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetLastObservations();
}&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN&gt; 4) In XAML, hook up these events &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Modify the chart to take care of this LastObservations property&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&lt;SPAN style="color:blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart.Series&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;ColumnSeries&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Title&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"Wind Speed"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; ItemsSource&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; LastObservations&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; IndependentValueBinding&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Attributes&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;EVENTID&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;]}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; DependentValueBinding&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Attributes&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;WINDSPEED&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;]}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;ColumnSeries&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart.Series&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart.Axes&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;LinearAxis&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Orientation&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"Y"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Minimum&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"0"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Maximum&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"120"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Interval&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"20"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; ShowGridLines&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"True"&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; FontStyle&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"Italic"&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;/&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart.Axes&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="color:blue;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Chart&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&amp;gt;&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;SPAN style="color: blue;"&gt;&lt;SPAN style="color:black;"&gt;6) Set the datacontext of your control to itself:&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:blue;"&gt;public&lt;/SPAN&gt; TemporalRendererTracks()
{
&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();
&amp;nbsp;&amp;nbsp;&amp;nbsp; DataContext = &lt;SPAN style="color:blue;"&gt;this&lt;/SPAN&gt;;
}&lt;/PRE&gt;&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color:black;"&gt;Hope I didn't forget some steps!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85157#M2082</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T23:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85158#M2083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If you need to get one line or one column by graphic, the ItemSources of your chart can be the Graphics property of your layer.&lt;BR /&gt; &lt;BR /&gt;Something like (based on this sample : &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#TemporalRendererTracks"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#TemporalRendererTracks&lt;/A&gt;) :&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dominique-&amp;nbsp; Thank you for posting this reply.&amp;nbsp; Where you are saying &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;Chart.Chart&amp;gt;&lt;/PRE&gt;&lt;SPAN&gt; what do I need to do to reference Chart so I can that part working?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 17:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85158#M2083</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-10T17:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85159#M2084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In your project, add a reference to &lt;/SPAN&gt;&lt;SPAN style="color:#0000ff;"&gt;System.Windows.Controls.DataVisualization.Toolkit.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:black;"&gt;and in your xaml, add this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:red;"&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&lt;SPAN style="color:red;"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 18:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85159#M2084</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-10T18:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85160#M2085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;In your project, add a reference to &lt;SPAN style="color:#0000ff;"&gt;System.Windows.Controls.DataVisualization.Toolkit.&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;SPAN style="color:black;"&gt;and in your xaml, add this line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:red;"&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&lt;SPAN style="color:red;"&gt; xmlns&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt;Charting&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;"clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dominique-&amp;nbsp; The reference you gave me worked so now I'm trying to test all the code you provided.&amp;nbsp; The Graph comes in my Silverlight just fine but when I run the website in my browser nothing ever gets drawn in the graph.&amp;nbsp; No line or or anything.&amp;nbsp; I'm testing to see if the Layer name I used instead of MyHurricaneFeatureLayer is an issue.&amp;nbsp; I used your code nearly exactly accept changed MyHurricaneFeatureLayer to WellsFeatureLayer and the Attributes in my layer I need to use are in a column called EOM (X-axis) and column called Adj_Close (Y-Axis).&amp;nbsp; If you have any suggestions I'd be glad to hear them.&amp;nbsp; Thanks again Dominique&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, the WellsFeatureLayer is just from my Dynamic Layer but I added a line after the dynamic service in my XAML like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;esri:FeatureLayer ID="WellsFeatureLayer" Url="http://serverprd02/ArcGIS/rest/services/SilverLightDir/Wells_Timeline/MapServer/0" /&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2011 19:58:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85160#M2085</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-10T19:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85161#M2086</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No clue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you get something if you use the first version I gave that doesn't need any code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
&amp;lt;Charting:Chart&amp;gt;
&amp;lt;Charting:Chart.Series&amp;gt;
&amp;lt;Charting:ColumnSeries Title="Wind Speed" ItemsSource="{Binding ElementName=MyMap, Path=Layers[MyHurricaneFeatureLayer].Graphics}" IndependentValueBinding="{Binding Attributes[EVENTID]}" DependentValueBinding="{Binding Attributes[WINDSPEED]}"/&amp;gt;
&amp;lt;/Charting:ColumnSeries&amp;gt;
&amp;lt;/Charting:Chart.Series&amp;gt;
&amp;lt;/Charting:Chart&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85161#M2086</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T23:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85162#M2087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;No clue.&lt;BR /&gt; &lt;BR /&gt;Do you get something if you use the first version I gave that doesn't need any code:&lt;BR /&gt; &lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
&amp;lt;Charting:Chart&amp;gt;
&amp;lt;Charting:Chart.Series&amp;gt;
&amp;lt;Charting:ColumnSeries Title="Wind Speed" ItemsSource="{Binding ElementName=MyMap, Path=Layers[MyHurricaneFeatureLayer].Graphics}" IndependentValueBinding="{Binding Attributes[EVENTID]}" DependentValueBinding="{Binding Attributes[WINDSPEED]}"/&amp;gt;
&amp;lt;/Charting:ColumnSeries&amp;gt;
&amp;lt;/Charting:Chart.Series&amp;gt;
&amp;lt;/Charting:Chart&amp;gt;
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dominique-&amp;nbsp; Thank you again for the fast response.&amp;nbsp; I used just your code above and made some minor changes and I will post it below in case you see any problems.&amp;nbsp; First, I'm not sure if this is the issue but I published my MSD to a MapService and that MapService is what I was calling in your code below.&amp;nbsp; Do I need to publish it as more than a Mapservice because I'm not sure how the Chart will know which layer to use in my MapService.&amp;nbsp; I tried just declaring a FeatureLayer but not sure if that was the way to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:ArcGISDynamicMapServiceLayer ID="WellsLayer" Opacity="0.8" 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Url="http://serverprd02/ArcGIS/rest/services/SilverLightDir/Wells_Timeline/MapServer"
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Initialized="ArcGISDynamicMapServiceLayer_Initialized" /&amp;gt;


&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer ID="WellsFeatureLayer" Url="http://serverprd02/ArcGIS/rest/services/SilverLightDir/Wells_Timeline/MapServer/0" /&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Second, below is my code of small changes I made in the chart.&amp;nbsp; Any issue?&amp;nbsp; I also attached a picture of the Attribute Table showing the two columns in my Wells Layer in my MapService that I need to use for this Chart.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;charting:Chart HorizontalAlignment="Left" VerticalAlignment="Bottom"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;charting:Chart.Series&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;charting:ColumnSeries Title="Wind Speed" ItemsSource="{Binding ElementName=map1, Path=Layers[WellsLayer].Graphics}" IndependentValueBinding="{Binding Attributes[EOM]}" DependentValueBinding="{Binding Attributes[Adj_Close]}"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/charting:ColumnSeries&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/charting:Chart.Series&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/charting:Chart&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thoughts?&amp;nbsp; I'm sure I'm forgetting something and that's why my Chart is not drawing.&amp;nbsp; I feel this is very close to working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85162#M2087</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2021-12-10T23:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85163#M2088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You feature layer ID is WellsFeatureLayer (not WellsLayer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
Path=Layers[Wells&lt;SPAN style="color:red;"&gt;Feature&lt;/SPAN&gt;Layer].Graphics
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85163#M2088</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T23:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85164#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You feature layer ID is WellsFeatureLayer (not WellsLayer).&lt;BR /&gt; &lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
Path=Layers[Wells&lt;SPAN style="color:red;"&gt;Feature&lt;/SPAN&gt;Layer].Graphics
&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Dominique-&amp;nbsp; If I set it to WellsFeatureLayer then I get the attached error message (picture attached).&amp;nbsp; It states an Object Reference is not set.&amp;nbsp; Did I declare the WellsFeatureLayer correctly or did I need to publish my MapService as something more than just a MapService?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; &amp;lt;esri:FeatureLayer ID="WellsFeatureLayer" Url="http://serverprd02/ArcGIS/rest/services/SilverLightDir/Wells_Timeline/MapServer/0" /&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85164#M2089</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2021-12-10T23:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85165#M2090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You need to initialize the OutFields property of your feature layer :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;OutFields="*"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or OutFields="EOM,Adj_Close"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, I should have noticed that at your previous post but I missed the point.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 11:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85165#M2090</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-11T11:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85166#M2091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You need to initialize the OutFields property of your feature layer :&lt;BR /&gt;OutFields="*"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; or OutFields="EOM,Adj_Close"&lt;BR /&gt; &lt;BR /&gt;Sorry, I should have noticed that at your previous post but I missed the point.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You beat me to the response &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp; Here is what I was typing..&amp;nbsp; If I add the below code where I declare my FeatureLayer and run my App I do not get the error above but when I select anything in the App I just get an hour glass.&amp;nbsp; any idea why I get an hour glass?&amp;nbsp; I'll keep testing&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;lt;esri:FeatureLayer ID="WellsFeatureLayer" Url="http://serverprd02/ArcGIS/rest/services/SilverLightDir/Wells_Timeline/MapServer/0" &amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:FeatureLayer.OutFields&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;EOM&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;sys:String&amp;gt;Adj_Close&amp;lt;/sys:String&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:FeatureLayer.OutFields&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:FeatureLayer&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85166#M2091</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2021-12-10T23:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85167#M2092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;any idea why I get an hour glass?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps just slow because too much objects in the chart. How many features in your layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If it's the case, the filtering by timeextent will help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 12:00:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85167#M2092</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-11T12:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85168#M2093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Perhaps just slow because too much objects in the chart. How many features in your layer?&lt;BR /&gt;If it's the case, the filtering by timeextent will help.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The WellsFeatureLayer has 2,551 features is that too many?&amp;nbsp; I tried commenting all the code in the codebehind out like you mentioned yesterday so I'm just using the code in XAML but it still locks up.&amp;nbsp; I will uncomment all the codebehind code you provided me and wait a few more seconds before selecting anything in the Map to see if that works.&amp;nbsp; My TimeSlider control is called MyTimeSlider so where you have this line in the codebehind does it need to say "== MyTimeSlider" or "== TimeEvent"?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (e.PropertyName == "TimeEvent")
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetLastObservations();&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I attached my MainPage.XAML.cs as a text file in case you see any issues.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85168#M2093</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2021-12-10T23:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85169#M2094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;does it need to say "== MyTimeSlider" or "== TimeEvent"?&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;"TimeEvent" : it's the name of the map property which has changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;public void TemporalRendererTracks()&lt;BR /&gt;{&lt;BR /&gt;InitializeComponent();&lt;BR /&gt;DataContext = this;&lt;BR /&gt;}&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;TemporalRendererTracks was the name of the sample class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Remove that code and complete your class constructor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; 
public MainPage()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataContext = this;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;return from g in graphics&lt;BR /&gt;where g.TimeExtent.Intersects(map1.TimeExtent)&lt;BR /&gt;group g by g.Attributes["EOM"] into grp&lt;BR /&gt;select grp.OrderByDescending(g =&amp;gt; g.Attributes["EOM"]).First();&lt;BR /&gt; &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case, you don't need the 2 last lines (useful to get the last observation corresponding to an ID). Try with just :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt; return from g in graphics
where g.TimeExtent.Intersects(map1.TimeExtent);&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:17:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85169#M2094</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-10T23:17:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85170#M2095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I trimmed down my Wells Feature class to just 5 Wells and republished my service and the App will run and the Chart displays.&amp;nbsp; The Chart seems static though and shows all records at once so I'm not sure what's going on there.&amp;nbsp; I didn't think 2000 records would be that much for this to handle so I guess I will try to add the full 2000 record Wells layer as a layer and have the Chart pull off of a simplified Wells layer (maybe 20 records) in that same service.&amp;nbsp; Thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 13:29:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85170#M2095</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-11T13:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85171#M2096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;The Chart seems static though &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Check with the debugger that SetLastObservations is being called when the time extent changed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;I didn't think 2000 records would be that much for this to handle&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It's likely only an optimization matter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A chart can handle 2000 objects but with this binding &lt;/SPAN&gt;&lt;SPAN style="color:#ff0000;"&gt;ItemsSource&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; ElementName&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;MyMap&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Path&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;Layers&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;MyHurricaneFeatureLayer&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;].&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;Graphics&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;",&amp;nbsp; &lt;SPAN style="color:black;"&gt;as Graphics is an observable collection,&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:black;"&gt;the chart is reinitialized each time a graphic is added to the feature layer so 2000 times in your case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hovever the timeextent filtering should reduce this number. How many features are displayed at a time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have too ma,y features, you can optimize by replacing the ObservableCollection by a simple collection (IEnumerable) and by firing by yourself the PropertyChanged event each time the collection changed (or another option is to use a dependency property, up to you).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 13:54:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85171#M2096</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-11T13:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85172#M2097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dominique-&amp;nbsp; I found out why nothing was drawing on my Chart after repointing my data back to the 2000 record Wells Feature Class.&amp;nbsp; The If Statement in map1_PropertyChanged was never entering SetLastObservations(), so I changed the If condition to where it does enter SetLastObservations.&amp;nbsp; But now I'm getting an error inside SetLastObservations inside the foreach loop.&amp;nbsp; The error is attached.&amp;nbsp; Do I need to actually have a graphics layer present in my Map?&amp;nbsp; Could that be what is causing the error?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 17:23:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85172#M2097</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-11T17:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help with a simple Line Chart</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85173#M2098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Check with the debugger that SetLastObservations is being called when the time extent changed.&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;It's likely only an optimization matter.&lt;BR /&gt;A chart can handle 2000 objects but with this binding &lt;SPAN style="color:#ff0000;"&gt;ItemsSource&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;="{&lt;/SPAN&gt;&lt;SPAN style="color:#a31515;"&gt;Binding&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; ElementName&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;MyMap&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:red;"&gt; Path&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;Layers&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;MyHurricaneFeatureLayer&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;].&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;Graphics&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;}&lt;/SPAN&gt;&lt;SPAN style="color:blue;"&gt;",&amp;nbsp; &lt;SPAN style="color:black;"&gt;as Graphics is an observable collection,&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color:black;"&gt;the chart is reinitialized each time a graphic is added to the feature layer so 2000 times in your case.&lt;/SPAN&gt;&lt;BR /&gt;Hovever the timeextent filtering should reduce this number. How many features are displayed at a time?&lt;BR /&gt; &lt;BR /&gt;If you have too ma,y features, you can optimize by replacing the ObservableCollection by a simple collection (IEnumerable) and by firing by yourself the PropertyChanged event each time the collection changed (or another option is to use a dependency property, up to you).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After debugging multiple times, it appears that the program always errors when adding the graphics to LastObservations.&amp;nbsp; I've tried it with a FeatureClass that only has 5 records and I've tried it with my original FeatureClass of 2000 records but always errors at &lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;LastObservations.Add(g);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Funny thing is that on the Chart, the Date for the first feature will appear in my X-Axis but no line graph is drawn and then the error occurs.&amp;nbsp; It's very close it seems to working.&amp;nbsp; I deeply appreciate all your help Dominique and look forward to hearing from you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2011 18:37:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/help-with-a-simple-line-chart/m-p/85173#M2098</guid>
      <dc:creator>JoshV</dc:creator>
      <dc:date>2011-03-11T18:37:11Z</dc:date>
    </item>
  </channel>
</rss>

