Hello,
I would like to display the pivot table with a bound chart at the same time. The chart should visualize the data of the pivot table.
Is it possible to display Pivot Table and Pivot Chart at the same time?
Or can a simple chart control be bound to the pivot table control?
Thanks in advance
Christian
|
<SfPivotView TValue="ProductDetails" @ref="Pivot" Height="340" AllowCalculatedField="true" ShowFieldList="true">
<PivotViewDisplayOption View="View.Both"></PivotViewDisplayOption>
</PivotViewGridSettings>
</SfPivotView> |
Hi Manikandan,
thanks for your quick response.
I already tried out setting the view property to "Both" but it didn't work for me.
With help of your sample code I found out that the pivot chart disappears when the pivot grids' toolbar is enabled (
<SfPivotView ShowToolbar="true">).
This is the reason why it does not work in my project.
Is this behavior by design?
Is it possible to show the pivot table with toolbar and the pivot chart at the same time?
Kind regards
Christian
|
<style>
.sf-pivotview .e-component-disable {
display: inline-block !important;
}
</style> |
Hello Sastha,
thanks for your css sample code.
It works very well and is exactly what I needed.
But I have some really annoying performance issues with the pivot grid component used in a blazor webassembly application.
Unfortunately the performance of user interactions is very bad.
The pivot table responds very slow.
It is not only the initial load time but even more the delay when I’m using the table (change fields, expanding, etc.)
I have found some related posts considering bad performance of the blazor grid component when using in a wasm application.
The solution there was to use the PreventRender method or parameter to get much better performance.
But I didn’t find a way to do this with the blazor pivot table.
What can I do to improve the performance of the pivot table in a blazor web assembly application?
The performance is even bad if I put your demo code (which works very well and fast in server side mode) into my wasm application.
Could you please give me any advice to improve the performance?
Kind regards
Christian