-
Thank you, Can you please fix the issue at earliest as we have to release to customers with this feature.
Thank you,
Vamsi.
-
Sir,
Waiting for your reply as request you to fix as ASAP.
Thank you,
Vamsi.
-
Hello @Vamsi!
I understand your anticipation to get this feature working, but we would need some time to be able to handle it. For the time being, please use the 2d pie. As we said before, we'll post a follow-up here as soon as we have this issue fixed, either from a Sencha Ext JS upgrade (if they fix it), or by our own.
Hope you understand.
-
Any update on this?
Thank you,
Vamsi.
-
Hello,
Any update on this? Our customers are asking for it..Please let me know when it will be fix.
Thank you,
Vamsi.
-
Hello @Vamsi!
We have looked up this issue to assess including it in the current release but it didn't work out, unfortunately. It was noticed changes regarding Pie Charts in recent Ext JS versions, but such changes didn't address this issue.
Unfortunately that's what we can say about this at the moment. I will try to take a look at this so we can at least include the feature in Ext.NET 5.2, will post a follow-up soon about the success of the attempt.
-
Hello again @vamsi!
Here's how the sliceout()
function should look like for it to work with both pie and pie3d charts; it has an extra step for pie 3d ones.
Code:
function Sliceout(chart) {
var store = chart.getStore(),
record = store.findRecord("Month", "Apr"),
record_id = store.indexOf(record),
series = chart.getSeries()[0],
series_item = series.getItemByIndex(record_id),
spids = [],
first_sprite, last_sprite, sprites, sprites_per_rec;
if (Ext.getClassName(series) == "Ext.chart.series.Pie3D") {
sprites_per_rec = series.spritesPerSlice;
first_sprite = record_id * sprites_per_rec;
last_sprite = first_sprite + sprites_per_rec;
sprites = series.getSprites();
series_item.sprite = sprites.slice(first_sprite, last_sprite);
}
chart.setHighlightItem(series_item);
}
This should work with your provided test case; notice the "Apr" constant value in the third line of the code above; you probably want to replace that to the record you want to highligh.
Hope this helps!
-
We have also applied a proper fix to Ext.NET sources. It will be available next release, be it 5.1.1 or 5.2.0 (still to be defined).
Thanks again for reporting the issue, and sorry for the delay solving it!