Chart disrupting in multiple axes.
I am using pivot table with chart support. When I switch from table to chart and then select multiple axes, Chart Axis Labels are oberlapping. What should I do?
SIGN IN To post a reply.
5 Replies
1 reply marked as answer
SN
Sivamathi Natarajan
Syncfusion Team
September 28, 2020 10:47 AM UTC
Thanks for contacting Syncfusion support.
We have checked the reported problem at our end. We suspect that the reported issue occurs due to the height of the pivot table control is less. So please increase the pivot table height while rendering the pivot chart with multiple axes. Meanwhile, we have prepared a sample for your reference. Please check the below sample.
If still the problem exists, kindly reproduce the problem in the provided sample and revert us (or) send your sample that replicating the problem. This would be a very helpful for us proceed it further.
Regards,
Sivamathi.
Marked as answer
SM
Suvadeep Majumdar
September 28, 2020 11:05 AM UTC
Thanks, I think I fixed the problem with your solution
.
SN
Sivamathi Natarajan
Syncfusion Team
September 29, 2020 07:28 AM UTC
Hi Suvadeep,
Thanks for the reply.
Regards,
Sivamathi.
SM
Suvadeep Majumdar
October 7, 2020 07:10 AM UTC
Can I change background of pagination in data grid inside mount.
SK
Sujith Kumar Rajkumar
Syncfusion Team
October 7, 2020 12:36 PM UTC
Hi Suvadeep,
Based on the query we could understand that your requirement is to change the background color of the Grid pager in the Vue’s mounted event. You can achieve it by accessing Grid’s pager element using Grid reference and then adding custom CSS class to it for which the required style can be set.
This is demonstrated in the below code snippet,
|
<template>
<div id="app">
<ejs-grid :dataSource="data" :allowPaging="true" ref="grid"></ejs-grid>
</div>
</template>
<script>
import Vue from "vue";
export default {
data() {
return {
};
},
mounted() {
this.$refs.grid.ej2Instances.pagerModule.element.classList.add("custom-style");
},
};
</script>
<style>
.custom-style {
background: lightblue;
}
</style> |
The above code will allow setting styles for the pager control. If you also need to set styles for the numeric items displayed in the Grid pager, then you can achieve it by applying it to the following CSS class(from the custom class added),
|
<style>
.custom-style .e-pagercontainer {
background: beige;
}
</style> |
We have prepared a sample based on this for your reference. You can find it below,
You can customize/style the Grid’s appearance(Including Grid’s pager control) by overriding its default CSS classes and setting style to it. The list of CSS classes that needs to be overridden for each area is explained in detail in the below help documentation link which you can refer for more details,
Let us know if you have any concerns.
Regards,
Sujith R
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
- Marked answer
-
SM Suvadeep Majumdar
- Sep 27, 2020 08:43 AM UTC
- Oct 7, 2020 12:36 PM UTC