This is a migrated thread and some comments may be shown as answers.

RadChart CustomFigures

3 Answers 79 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
skysailor
Top achievements
Rank 1
skysailor asked on 11 Mar 2008, 02:35 AM

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

3 Answers, 1 is accepted

Sort by
0
Accepted
Ves
Telerik team
answered on 13 Mar 2008, 02:54 PM
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
0
skysailor
Top achievements
Rank 1
answered on 13 Mar 2008, 10:51 PM
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...).
0
Ves
Telerik team
answered on 18 Mar 2008, 08:46 AM
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
Tags
Chart (Obsolete)
Asked by
skysailor
Top achievements
Rank 1
Answers by
Ves
Telerik team
skysailor
Top achievements
Rank 1
Share this question
or