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

Need help formatting/designing chart

1 Answer 65 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Michael asked on 29 Nov 2008, 03:17 PM
Hey Guys

I would really appreciate your help as this is the first time I am using the charting controls. I have a screenshot attached here.

Basically on the left is the excel chart. On the right is what I so far managed to achieve, however I need help with the labels of the RadChart.

The DataSource is a list. Here it is...

public class MeanResults
        public int QuestionId { get; set; }
        public string Quadrant { get; set; }
        public string StatementType { get; set; }
        public double OrganisationalDelivery { get; set; }
        public double PersonalNeeds { get; set; }

Here is the aspx page code
<telerik:RadChart ID="RadChart1" runat="server" Skin="LightBlue" Width="900px" Height="700px" SeriesOrientation="Horizontal">
                <telerik:ChartSeries DataYColumn="OrganisationalDelivery" Name="Organisational Delivery">
                <telerik:ChartSeries DataYColumn="PersonalNeeds" Name="Personal Needs">

I basically do a RadChart1.DataSource = List<MeanResults>(the date...); RadChart1.DataBind().

Basically instead of the numbers 1-24 on the left, I need the StatementType label (only once per double bar). I also need the bottom scale to ALWAYS display 0 -10 instead of 0 - the last value of the OrganisationalDelivery or PersonalNeeds value.

Thanks in advance.

If someone is board and can help me go one step further and acheive this, I would be very grateful.

Thanks, Michael

1 Answer, 1 is accepted

Sort by
Vladimir Milev
Telerik team
answered on 02 Dec 2008, 04:29 PM
Hello Michael,

To always display 0-10 range you should set the AutoScale property of the appropriate axis to false. This will allow you to manually set the Min and Max values. You can then specify the step you would like to have.

To get the labels to display on the axis you should use the DataLabelsColumn. It will instruct the chart to obtain the labels from the specified column in the datasource.

Let us know if this helps and if you need additional help.

All the best,
Vladimir Milev
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Chart (Obsolete)
Asked by
Top achievements
Rank 1
Answers by
Vladimir Milev
Telerik team
Share this question