Hello,
I just want to know how to bind the event slice Click to the JQUERY Pie Chart.
Regards,
Chady
Hello, chadymezher
The igPieChart control was CTP in the last 2011 Volume 2 release and unfortunately you cannot bind to the sliceClick event in this version. The new 2012 Volume 1 version is due to be released soon and you will be able to bind to this event like this:
Please, reply if you need some more information.
Regards, Lazar
I would like to know how i can let the slices explode when they are clicked
I have download igniteUI and want click events on graph, Like PIE Chart Slice. I am developing MVC5 applicataion with igniteUI. Here is my code but there is no event. Kindly guide me how to get click event:
<div class="col-md-6"> <h2>Sale</h2> <div> @(Html.Infragistics().PieChart(Model.AsQueryable()) .ID("chart") .Width("100%") .Height("300px") .ValueMemberPath(data => data.Budget) .LabelMemberPath(data => data.Label) .ExplodedSlices("0 1") .RadiusFactor(.8) .Legend(leg => leg.ID("legend").LegendType(LegendType.Item)) .AllowSliceExplosion(true) .ShowTooltip(true) .TooltipTemplate("<div class='tooltip'>${item.Label}</div><div>" + "Budget" + ": ${item.Budget}</div>") .DataBind() .Render() )
</div> </div>
sliceClick: function (e, ui) { ui.slice.isExploded = true; }
Hope this helps!
-Graham