This question is locked. New answers and comments are not allowed.
Hello,
i have problems to implement a chart in my application. But first i have to tell you why i need this chart, because there could be another solution.
The Requirements to the Chart is:
1. Full MVVM implementation
2. Zooming and scrolling
3. On mouse over animated trackballs
4. Dynamically generated multiple AreaSeries
Like this:
http://demos.telerik.com/silverlight/#ChartView/SmoothScrolling
http://www.telerik.com/help/silverlight/xamlflix-chartview.html
So i have decided to use the RadCartesianChart, but it does not match the last requirement. I have searched the web the last 6 hours and no solution fits my requirements.
http://www.telerik.com/community/forums/wpf/chart/datatemplating-series-for-mvvm.aspx#1529256
The best solution i have found was a implementation with RadChart, i have used it with the data in my software, and it works, but there is no zooming and scrolling and no animated trackballs.
Is there a possible and easy solution to meet my requirements?
regards
Andreas
At least there is the general structure of my application:
The Dictionary contains a String with the name of the AreaSeries and a collection of X and Y coordinates to display in the Chart.
i have problems to implement a chart in my application. But first i have to tell you why i need this chart, because there could be another solution.
The Requirements to the Chart is:
1. Full MVVM implementation
2. Zooming and scrolling
3. On mouse over animated trackballs
4. Dynamically generated multiple AreaSeries
Like this:
http://demos.telerik.com/silverlight/#ChartView/SmoothScrolling
http://www.telerik.com/help/silverlight/xamlflix-chartview.html
So i have decided to use the RadCartesianChart, but it does not match the last requirement. I have searched the web the last 6 hours and no solution fits my requirements.
http://www.telerik.com/community/forums/wpf/chart/datatemplating-series-for-mvvm.aspx#1529256
The best solution i have found was a implementation with RadChart, i have used it with the data in my software, and it works, but there is no zooming and scrolling and no animated trackballs.
Is there a possible and easy solution to meet my requirements?
regards
Andreas
At least there is the general structure of my application:
The Dictionary contains a String with the name of the AreaSeries and a collection of X and Y coordinates to display in the Chart.
private Dictionary<String,ObservableCollection<ChartCoordinate>> _chartData = new Dictionary<String,ObservableCollection<ChartCoordinate>>();public Dictionary<String,ObservableCollection<ChartCoordinate>> ChartData{ get { return _chartData; } set { _chartData = value; InvalidateCommands(); OnPropertyChanged(() => ChartData); }}
public class ChartCoordinate
{
public ChartCoordinate(Decimal y, Decimal x)
{
X = x;
Y = y;
}
private Decimal _x = 0;
public Decimal X
{
get
{
return _x;
}
set
{
_x = value;
}
}
private Decimal _y = 0;
public Decimal Y
{
get
{
return _y;
}
set
{
_y = value;
}
}
}