Move the Item Label

Thread is closed for posting
2 posts, 0 answers
  1. Yuri
    Yuri avatar
    1 posts
    Member since:
    Aug 2012

    Posted 09 Aug 2012 Link to this post

    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?
  2. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 14 Aug 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top