Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Chart > API changes from RadChart v3 to RadChart v4
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

API changes from RadChart v3 to RadChart v4

Feed from this thread
  • Posted on Sep 25, 2007 (permalink)

    Hi all,

    The new version of RadChart (v4.0) introduces better performance and expands its functionality over new areas. Additionally, many new features were implemented to reflect the numerous client requests.

    However, this transition required a significant modification of the server API of the control. To make the migration process from the previous version of RadChart as easy as possible, we have prepared a document holding all API changes made for v4. You will find it attached to this forum post.

    Best regards,
    The Telerik team
    Attached files

  • cecile avatar

    Posted on Nov 20, 2007 (permalink)

    Hello,
    One question about the changes in the API.
    What happened to Telerik.Charting.ChartPointMark enumeration that was available in the previous version of RadChart (v3.1.2.0)?
    Information regarding how to migrate ChartPointMark is missing in your attached document and in the installed/online control's help.

    Would you please provide instructions on how ChartPointMark should be updated? For example if a method uses a parameter of type ChartPointMark, what should the type be now so that one can access the kind of point mark ( rectangle, cross, diamond, etc) ?

    Environment:
    - ASP.NET 2.0
    - Visual Studio 2005
    - VB.NET
    - RadControls Q2 2007

    Thanks in advance.
    Cécile

  • Vladimir Milev Vladimir Milev admin's avatar

    Posted on Nov 22, 2007 (permalink)

    Hello cecile,

    Thank you for your feedback. The ChartPointMark enumeration has been expanded. Here is how to set up point marks with the new API:

            RadChart1.Series[0].Appearance.PointMark.Visible = true;
            RadChart1.Series[0].Appearance.PointMark.FillStyle.FillType = FillType.Solid;
            RadChart1.Series[0].Appearance.PointMark.FillStyle.MainColor = Color.Red;
            RadChart1.Series[0].Appearance.PointMark.Figure = DefaultFigures.Diamond;


    or in the ASPX

    <radC:ChartSeries type="Line">
        <Appearance>
             <PointMark Visible="true" FillStyle-FillType="Solid" FillStyle-MainColor="red" />
        </Appearance>
        <Items>
        ....
        </Items>
    </radC:ChartSeries>


    We will update the documentation as per your request. Your points have been updated.

    Regards,
    Vladimir Milev
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  • Andrew Rawlins avatar

    Posted on Apr 14, 2008 (permalink)

    Dear telerik,

    Regarding the documentation, is there a substitute now for the old legend.location property (v3)? In the documentation file, the equilivant column for V4 is blank on this one. I need to know if this has been updated.

    Thanks,
    Andrew

  • Andrew Rawlins avatar

    Posted on Apr 14, 2008 (permalink)

    and along the same lines, the v4 equivalent of the v3 charttitle.location?

  • Andrew Rawlins avatar

    Posted on Apr 14, 2008 (permalink)

    I'm also changing this v3 property:

    series.labelAppearance.TextFont

    to series.appearance.LabelAppearance.

    at this point, I'm needing two properties as per the documentation:
    .textblock.appearance.textproperties.color
    .textblock.appearance.textproperties.font

    but .textblock is not in the properties box menu after .labelappearance. In alphabetical order is should be after showLabelConnector and before ToString, but it's not.

    Is something missing here?

    Thanks,
    Andrew

  • Ves Ves admin's avatar

    Posted on Apr 15, 2008 (permalink)

    Hi Andrew,

    Onto your questions:
    • RadChart.Legend.Location is now RadChart.Legend.Appearance.Location
    • Unfortunately, this property is no longer available for ChartTitle. Please, use RadChart.ChartTitle.Appearance.Position to customize the title position
    • [Series].LabelAppearance.TextFont is now [Series].Appearance.TextAppearance.TextProperties.Font
    I hope this helps.

    Greetings,
    Ves
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Chart > API changes from RadChart v3 to RadChart v4