Positioning of Y-Axis item labels

Thread is closed for posting
7 posts, 0 answers
  1. baud9600
    baud9600 avatar
    2 posts
    Member since:
    Jan 2010

    Posted 08 Sep 2011 Link to this post

    I found related posts on this, but I didn't find anything specific to what I'm looking for. I like to move the Y-Axis item labels to the right of the Y-Axis. Is that possible? Thanks for any pointers on this.
  2. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 13 Sep 2011 Link to this post

    Hello George,

    You can use the API provided (from the Properties Window in VS) and modify the position of the Axis->Appearance->LabelAppearance->Position per your requirements.

    Kind regards,
    Evgenia
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. baud9600
    baud9600 avatar
    2 posts
    Member since:
    Jan 2010

    Posted 14 Sep 2011 Link to this post

    Thanks for your answer, but it seems that whatever I try, the labels show all bunched up on top in one black spot.
    <PlotArea>
    ... 
    <YAxis>
           <Appearance  />
                   <LabelAppearance    Position-Auto="false" Position-Y="0" Position-X="<any number here>" >
                   </LabelAppearance>
           </Appearance>
    ...
    Varying the position-X seems no to make any difference.
    Thanks again 
  5. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 19 Sep 2011 Link to this post

    Hello George,

    Can you be more specific where do you want your YAxis labels to be located? Sending us a sample image will be best. This way we will be able to support you more properly.

    Best wishes,
    Evgenia
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal
  6. George
    George avatar
    7 posts
    Member since:
    Sep 2011

    Posted 20 Sep 2011 Link to this post

    This is what I would like (Y labels on the right side of the axis):
    y
    |
    | 10
    |
    | 5
    |
    | 1
    |____________________________ X AXIS
    Attached is what I see when I do (programmatically or in the aspx)
     <telerik:RadChart  ID="RadChart1" runat="server" Height="264px" DefaultType="Point" Skin="Office2007" 
               ...
                PlotArea-YAxis-Appearance-LabelAppearance-Position-X="2"
                PlotArea-YAxis-Appearance-LabelAppearance-Position-Y="0"
                PlotArea-YAxis-Appearance-LabelAppearance-Position-Auto="false"
                >
                <Appearance >
                    <Border Color="134, 134, 134" />
                </Appearance>
                <series>
                    <telerik:ChartSeries Name="Series 1" Type="Point"  >
                        <Appearance ShowLabels="true">
                            <FillStyle FillType="Solid" MainColor="69, 115, 167">
                            </FillStyle>
                            <TextAppearance TextProperties-Color="Black">
                            </TextAppearance>
    ...
                                              <Items>
    ....
    ...
    Is that supposed to work or is there any other gotcha?.
    Thanks
  7. Evgenia
    Admin
    Evgenia avatar
    1407 posts

    Posted 24 Sep 2011 Link to this post

    Hello George,

    Setting custom position X and Y for the YAxis Items Labels moves them starting at position 0,0 on the PlotArea all without keeping their default positions on the YAxis. As a result they are all shown overlapped on the coordinates you provided. Unfortunately there is no way of moving the YAxis Items Labels on the right side.

    Regards, Evgenia
    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
  8. George
    George avatar
    7 posts
    Member since:
    Sep 2011

    Posted 27 Sep 2011 Link to this post

    Thanks for your reply. Consider this closed.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017