I haven't able to set the label of the y axis (I don't think its possible) but you could set it on the legend using the Title property. On the x axis it depends on the binding set on your DataPointSeries'IndependentValueBinding.
I haven't able to set the label of the y axis (I don't think its possible) but you could set it on the legend using the Title property. On the x axis it depends on the binding set on your DataPointSeries'IndependentValueBinding. Lets say on this sample I have created a class object that will represent every record/datapoint.
Public class ChartInfo { public string Label { get; set; } public double Value { get; set; } } Then I have this code: List list = new List(); ChartInfo item = new ChartInfo(); item. Label = "Individual"; item. Vale = 27; list.
Add(item); item = new ChartInfo(); item. Label = "Corporate"; item. Vale = 108; list.
Add(item); DataPointSeries series = new ColumnSeries(); series. Title = "Quantity"; series. DependentValueBinding = new Binding("Value"); series.
IndependentValueBinding = new Binding("Label"); series. ItemsSource = list; series. SelectionChanged += new SelectionChangedEventHandler(series_SelectionChanged); this.
ChartingToolkitControl.Series. Add(series); It will give me this result. For the zooming - I think the right term is drill-down.
You could use the SelectionChanged event (see the code above). What you should do is requery your datasource and clear the graph's series and add a new one based on your query result. Private void series_SelectionChanged(object sender, SelectionChangedEventArgs e) { //The sender here is of type DataPointSeries wherein you could get the SelectedItem (in our case ChartInfo) and from there you could do the requery.
}.
Thanks for your answer, it really helpme. And I hadn't thought the zoom in that way. Thanks.
– Clerks Mar 3 '10 at 15:22 @Clerks - if the answer helped you don't forget to vote it up and mark it as the accepted answer of your question :) – Jojo Sardez Mar 4 '10 at 4:21.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.