Successful implementation of line chart

Oct 24, 2013 at 9:42 PM
Has anyone had success with implementing their own line chart into this library?
Oct 27, 2013 at 10:42 PM
Ok, I guess not :) I don't mind doing it myself but I'm struggling for ideas on how to actually draw the lines.

I created a LineChart with the following PlotterAreaStyle to test:
<Style x:Key="LineChartPlotterAreaStyle" TargetType="charting:PlotterArea" BasedOn="{StaticResource BasePlotterAreaStyle}">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="charting:PlotterArea">
                    <charting:FadingListView   
                        x:Name="itemsPanel" 
                        Style="{StaticResource FadingListViewStyle}"
                        ItemsSource="{Binding Path=ParentChart.DataPointGroups, RelativeSource={RelativeSource Mode=TemplatedParent}}">
                        <charting:FadingListView.ItemsPanel>
                            <ItemsPanelTemplate>
                                <Canvas Margin="0,10,0,0" />
                            </ItemsPanelTemplate>
                        </charting:FadingListView.ItemsPanel>
                        <charting:FadingListView.ItemTemplate>
                            <DataTemplate>
                                <Polyline Points="10,100 100,200 200,30 250,200 200,150" Stroke="Pink" Stretch="Fill" Width="Auto" StrokeThickness="1" />
                            </DataTemplate>
                        </charting:FadingListView.ItemTemplate>
                    </charting:FadingListView>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
This gives the polyline correctly but I have no idea on how to correspond this to the data for the series. Anyone have ideas?
Jan 13, 2014 at 8:50 PM
I have used these charts in the past and I'm about to start a new project that requires a line chart...
Jan 13, 2014 at 9:04 PM
I ended up using this library for my gauges and bar charts and the wpf toolkit data visualization for my line graphs with styles to make them look like they came from this library. I don't have enough experience with custom controls to take on such a big task.

Would be interested to see your implementation if you end up tackling it.
Mar 18, 2014 at 4:15 PM
As would I. How did you get on?