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

Is pie chart included in MVC extensions 2011.2.712.340 ?

5 Answers 61 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Craig
Top achievements
Rank 1
Craig asked on 16 Nov 2011, 01:53 PM
Hi
I'm trying to use a pie chart but I have this error:
'Telerik.Web.Mvc.UI.Fluent.ChartSeriesFactory<TelerikMvcApplication1.Models.RiskSummary>' does not contain a definition for 'pie' and no extension method 'pie' accepting a first argument of type 'Telerik.Web.Mvc.UI.Fluent.ChartSeriesFactory<TelerikMvcApplication1.Models.RiskSummary>' could be found (are you missing a using directive or an assembly reference?)

Telerik.Web.Mvc is referenced and is version 2011.2.712.340.

The intellisense for series includes Bar, Column and Line but no Pie.

What have I missed?

Thanks
Craig


5 Answers, 1 is accepted

Sort by
0
James
Top achievements
Rank 1
answered on 16 Nov 2011, 03:47 PM
http://demos.telerik.com/aspnet-mvc/chart

Looks like there is no support for Pie charts at this time.

EDIT: Well, I can see your confusion.  According to the link above, it states that pie, scatter, and scatter line charts are supported, but apparently there is no functionality for them.  Interesting indeed.
0
Craig
Top achievements
Rank 1
answered on 16 Nov 2011, 04:00 PM
I'm sorry I don't understand your reply. The demo shows the pie chart functioning with some code.
0
Craig
Top achievements
Rank 1
answered on 16 Nov 2011, 06:01 PM
I think it was my error due to a mismatch between names in the controller and the view. Once I'd corrected the name, Pie appeared in the intellisense. 
0
Hristo Germanov
Telerik team
answered on 17 Nov 2011, 10:17 AM
Hi Craig,

Thank you for the reporting this issue.

Could you please update your project to Q3 2010 and tell me if everything work for you.

Best wishes,
Hristo Germanov
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 Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
0
Craig
Top achievements
Rank 1
answered on 17 Nov 2011, 10:56 AM
Hi Hristo,
I had updated to Q3 2011 hoping it would resolve it. I had to correct my code after updating i.e. ensure the view and controller names matched to get Pie to appear in Intellisense.

Regards
Craig
Tags
Chart
Asked by
Craig
Top achievements
Rank 1
Answers by
James
Top achievements
Rank 1
Craig
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or