This question is locked. New answers and comments are not allowed.
Hi,
I attached 2 images with this post
Currentgraph: it is the my current rendering chart using telerik chart.
Imagegraph: it is the expected graph
actually right now i am getting the graph what i need but in x axis i need to show only month names like January February.
below is the sample data i have
i want to show Aggregate in y axis
Month in X- axis.(month should be show like category type like all January values should be group it means for each aggregate value i dont need to show January January January January like instead of only one January is enough for all values)
right now i did like that only but my graph look like in currentgraph.png file(problem here is in x- axis it is giving numbers why it is giving like that i dont know because i didn't tell to that give me like that apart from that every thing is coming good)
below i am pasting my current code feel free to change the code to meet my requirement in imagegraph.png(no need to show Hour and Date is X-axis i written because to show i dont want to group Aggregate value by month name)
Please give me response, it is urgent requirement for my project
Thank you in advance
I attached 2 images with this post
Currentgraph: it is the my current rendering chart using telerik chart.
Imagegraph: it is the expected graph
actually right now i am getting the graph what i need but in x axis i need to show only month names like January February.
below is the sample data i have
| Date | Month | Hour | Aggregate |
| 1/1/2010 | January | 0 | 408 |
| 1/1/2010 | January | 1 | 405 |
| 1/1/2010 | January | 2 | 399 |
| 1/2/2010 | February |
0 |
415 |
| 1/2/2010 | February | 1 |
407 |
| 1/2/2010 | February | 2 |
407 |
| 1/3/2010 | March | 0 |
399 |
| 1/3/2010 | March | 1 |
408 |
| 1/3/2010 | March | 2 |
401 |
i want to show Aggregate in y axis
Month in X- axis.(month should be show like category type like all January values should be group it means for each aggregate value i dont need to show January January January January like instead of only one January is enough for all values)
right now i did like that only but my graph look like in currentgraph.png file(problem here is in x- axis it is giving numbers why it is giving like that i dont know because i didn't tell to that give me like that apart from that every thing is coming good)
below i am pasting my current code feel free to change the code to meet my requirement in imagegraph.png(no need to show Hour and Date is X-axis i written because to show i dont want to group Aggregate value by month name)
<telerik:RadChart x:Name="RCAD" PaletteBrushesUseSolidColors="True"> <telerik:RadChart.DefaultView> <telerik:ChartDefaultView> <telerik:ChartDefaultView.ChartTitle> <telerik:ChartTitle Content="Annual Demand" HorizontalAlignment="Stretch"/> </telerik:ChartDefaultView.ChartTitle> <telerik:ChartDefaultView.ChartArea> <telerik:ChartArea NoDataString="Loading please wait" LegendName="RCADLegend"> <telerik:ChartArea.AnimationSettings> <telerik:AnimationSettings ItemAnimationDuration="00:00:03"> </telerik:AnimationSettings> </telerik:ChartArea.AnimationSettings> <telerik:ChartArea.AxisX> <telerik:AxisX AutoRange="True" LayoutMode="Inside" Title="Month" LabelRotationAngle="270"></telerik:AxisX> </telerik:ChartArea.AxisX> <telerik:ChartArea.AxisY> <telerik:AxisY Title="Demand(KWH)" AutoRange="True"></telerik:AxisY> </telerik:ChartArea.AxisY> </telerik:ChartArea> </telerik:ChartDefaultView.ChartArea> </telerik:ChartDefaultView> </telerik:RadChart.DefaultView> <telerik:RadChart.SeriesMappings> <telerik:SeriesMapping> <telerik:SeriesMapping.SeriesDefinition> <telerik:SplineSeriesDefinition ShowItemLabels="False" ShowItemToolTips="True" ShowPointMarks="False"> <telerik:SplineSeriesDefinition.Appearance> <telerik:SeriesAppearanceSettings> <telerik:SeriesAppearanceSettings.PointMark> <telerik:PointMarkAppearanceSettings Shape="Circle"> </telerik:PointMarkAppearanceSettings> </telerik:SeriesAppearanceSettings.PointMark> </telerik:SeriesAppearanceSettings> </telerik:SplineSeriesDefinition.Appearance> </telerik:SplineSeriesDefinition> </telerik:SeriesMapping.SeriesDefinition> <telerik:SeriesMapping.ItemMappings> <telerik:ItemMapping DataPointMember="YValue" FieldName="Aggregate"></telerik:ItemMapping> <telerik:ItemMapping DataPointMember="XValue" FieldName="Month1"></telerik:ItemMapping> </telerik:SeriesMapping.ItemMappings> </telerik:SeriesMapping> </telerik:RadChart.SeriesMappings> </telerik:RadChart>Please give me response, it is urgent requirement for my project
Thank you in advance