Changing the name of a Pie Graph causes error

3 posts, 0 answers
  1. James
    James avatar
    12 posts
    Member since:
    Mar 2019

    Posted 11 Apr Link to this post

    I am new to Telerik and have run into an issue with the creation of a Pie chart.  I first set my data source groups and run the design mode view to see that the graph looks correct.  I then go to start cleaning things up and rename the graph from graph1 to another name and then run the designer view again to see the error :

    An error has occurred while processing Graph 'DeviceTypePercentages':

    An error has occurred while processing RangePolarDataPoint:

    Scope name 'graph1' does not represent a valid data scope name.

    ---------InnerException--------

    Scope name 'graph1' does not represent a valid data scope name.

    Thanks for any help you can provide on this.

  2. Neli
    Admin
    Neli avatar
    189 posts

    Posted 16 Apr Link to this post

    Hello James,

    I suspect that you have used the scope of the graph in an Expression before renaming the graph. Note that the data scope is represented with the name of the corresponding data item provided as a string. Hence, after renaming the graph it will be necessary to modify also its scope name in all the Expressions where it is used. In the particular error the expression should be searched for in RangePolarDataPoint.

    Regards,
    Neli
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. James
    James avatar
    12 posts
    Member since:
    Mar 2019

    Posted 18 Apr in reply to Neli Link to this post

    Neli,

    I never found a "RangePolarDataPoint" value in the pie chart but I did find the second instance of the variable being used and changed it as well and now I do not receive the error anymore.  

    Thanks

Back to Top