Shifting the point on a point chart

Thread is closed for posting
2 posts, 0 answers
  1. Andy
    Andy avatar
    25 posts
    Member since:
    Aug 2011

    Posted 08 Nov 2012 Link to this post

    I have a point chart along with a bar chart.

    I have configured the points to be a rectangle.  ( more of a line )

    The point starts at the center and goes right.  I need to shift the line over so it is centered on the bar.

    See attached image.

    Andy

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 12 Nov 2012 Link to this post

    Hi Andy,

    I am afraid this problem exists with point series. In this case you can use transparent line series with visible pointmarks. Here is how to configure it:

    <telerik:ChartSeries Name="Series 2" Type="Line">
        <Appearance>
            <FillStyle FillType="Solid" MainColor="Transparent">
            </FillStyle>
            <PointMark Visible="True" Dimensions-AutoSize="False" Dimensions-Height="2px" Dimensions-Width="60px"  Figure="Rectangle">
                <FillStyle FillType="Solid" MainColor="Red">
                </FillStyle>
            </PointMark>
        </Appearance>


    Best regards,
    Ves
    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