RadChart CustomFigures

Thread is closed for posting
4 posts, 1 answers
  1. skysailor
    skysailor avatar
    113 posts
    Member since:
    Jul 2007

    Posted 10 Mar 2008 Link to this post


    How do you use the CustomFigures in RadChart?
    I have created a custom figure using the editor but am not sure how the new custom figure can now be used. I expected to be able to use it for the points on a Point type chart - is that not how it is supposed to be used?
    I can't find any documentation on it's usage.
    Clayton Powell
  2. Answer
    Ves
    Admin
    Ves avatar
    2926 posts

    Posted 13 Mar 2008 Link to this post

    Hello Clayton,

    You need to assign the name of the custom figure to Series.Appearance.PointShape. Here is an example:

    <telerik:RadChart ID="RadChart1" runat='server'
                <CustomFigures> 
                    <telerik:CustomFigure Description="20,20,273,211:20,20,False............" 
                        Name="Figure1" /> 
                </CustomFigures> 
                <Series> 
                    <telerik:ChartSeries Name="Series 1" Type="Point"
                        <Items> 
                            <telerik:ChartSeriesItem Name="Item 1" YValue="4"
                            </telerik:ChartSeriesItem> 
                            <telerik:ChartSeriesItem Name="Item 2" YValue="3"
                            </telerik:ChartSeriesItem> 
                            <telerik:ChartSeriesItem Name="Item 3" YValue="4"
                            </telerik:ChartSeriesItem> 
                            <telerik:ChartSeriesItem Name="Item 4" YValue="5"
                            </telerik:ChartSeriesItem> 
                        </Items> 
                        <Appearance PointShape="Figure1"
                        </Appearance> 
                    </telerik:ChartSeries> 
                </Series> 

    Hope this helps.

    Best wishes,
    Ves
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. skysailor
    skysailor avatar
    113 posts
    Member since:
    Jul 2007

    Posted 13 Mar 2008 Link to this post

    Thanks for that. It works!
    The PointShape property in the designer was a fdrop down which only included the standard shapes. I didn't knwo you could put the custom figure name there. Is it possible to add all custom figure names to the drop down?

    And I would like to know how you edit a Custom Figure you have already created? If you go to the CustomFigure Colelction editor you can add a new figure which opens the Shape Designer (which is very cool). But there does not seem to be a way to edit a figure that is already int he collection (other than editing the description text...).
  4. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 18 Mar 2008 Link to this post

    Hi Clayton,

    It seems you have hit an issue with the custom figure editor. I have notified our developers of this and they will investigate it. I have also notified them about the custom figure name missing in the dropdown. They will check the possibility to add it.

    We are sorry for the inconvenience caused. Your Telerik points have been updated.

    All the best,
    Ves
    the Telerik team

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