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

Move the Item Label

1 Answer 70 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Yuri
Top achievements
Rank 1
Yuri asked on 09 Aug 2012, 12:03 PM
Hello,
How can I place the upper value into the center of the green bar and same issue for the red bar ,On client side?

1 Answer, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 14 Aug 2012, 07:43 AM
Hello Yuri,

The desired customization can be achieved only with server-side code like this:
<telerik:RadChart ID="RadChart1" runat="server" AutoLayout="true">
    <Series>
        <telerik:ChartSeries Type="StackedBar">
            <Appearance>
                <LabelAppearance LabelLocation="Inside" Position-AlignedPosition="Center" />
            </Appearance>
            <Items>
                <telerik:ChartSeriesItem YValue="107118.92" />
            </Items>
        </telerik:ChartSeries>
        <telerik:ChartSeries Type="StackedBar">
            <Appearance>
                <LabelAppearance LabelLocation="Inside" Position-AlignedPosition="Center" />
            </Appearance>
            <Items>
                <telerik:ChartSeriesItem YValue="30664.85" />
            </Items>
        </telerik:ChartSeries>
    </Series>
</telerik:RadChart>

Hope this helps.


Regards,
Giuseppe
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Chart (Obsolete)
Asked by
Yuri
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Share this question
or