This is a migrated thread and some comments may be shown as answers.

[Solved] Rad Chart formatting Issues

1 Answer 140 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
FIJO
Top achievements
Rank 1
FIJO asked on 14 Oct 2010, 07:47 AM

Hi all,

I am facing following issues in the same Chart

 Issue 1:

 

Old Chart: - Which look fine shown in OLDChart.JPG

 

 

New Rad Chart Which looks different shown in NewRadChart.JPG

 

 

Issue 1:

 

In old Chart all the column we binding in the y-axis is showing in Column wise how do I achieve same in New rad chart.    

Old chart Code snippet which does this job is

    e.YAxisTick.Label.Text +=

                "<block hAlign='Left' " + extras + ">" + name + "<block hAlign='Center' " + extras + ">" +

                e.Name + "<block hAlign='Center' " + extras + ">" + e.YValue;

 

Here its doing html align.

But as far I understand silver light is a XHTML render and much  like flash pluggin so ho do we do these kind of column align.

 

Issue 2:

In old chart with Pentage is showing with % symbol but in silver light it is not showing % symbol , I know I need to concatenate % symbol but where because I am setting it as label like this which I shown in green. I am using ItemToolTipFormat for showing ScheduledEffort but how do I achive it for DataPointMember="Label"?

Please have look at new rad chart.

      <telerik:RadChart.SeriesMappings>

                    <telerik:SeriesMapping>

                        <telerik:SeriesMapping.SeriesDefinition>

                            <telerik:HorizontalBarSeriesDefinition ShowItemToolTips="True" ShowItemLabels="True"  

                                                                          ItemToolTipFormat="Scheduled Effort:#Y{N} Hours"

                                                                          ShowZeroValuesLabels="False"   StackGroupName="Stack0"

                                                                           />

                        </telerik:SeriesMapping.SeriesDefinition>

                        <telerik:SeriesMapping.ItemMappings>

                            <telerik:ItemMapping  FieldName="YAxisDisplayName"  DataPointMember="XCategory"/>

                            <telerik:ItemMapping FieldName="ScheduledEffort" DataPointMember="YValue"  />

                            <telerik:ItemMapping FieldName="PercentageCompleted" DataPointMember="Label" />

                        </telerik:SeriesMapping.ItemMappings>

                    </telerik:SeriesMapping>

                </telerik:RadChart.SeriesMappings>

 

Issue 3:-

In old Chart it is showing ScheduledEffort and PercentageCompleted in same tooltip how I achive same in rad chart? Code is same as above

Issue 4:

 

In Old Chart 1000 is howing in X axix but in new rad chart 1000 is formatting 1K but I have to maintain same look and feel as old one what should I do , I mean to show as 1000?

 

With Tahnks,

FIJO Francis T

1 Answer, 1 is accepted

Sort by
0
Evgenia
Telerik team
answered on 19 Oct 2010, 10:19 AM
Hello FIJO,

You can find your questions answered in this forum post -

http://www.telerik.com/community/forums/silverlight/chart/rad-chart-yaxix-tick-label-binding-to-graph.aspx
.

To avoid duplicate posts, we can continue any further communication there.

Best wishes,
Evgenia
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
FIJO
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or