BoldDesk®Customer service software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
Hi
We have our own light theme and dark theme , and for syncfusion charts to adopt those theme i have to update the color for the chart axis labels. and legend labels,etc. Refer followinf
<ejs-chart style='display:block' [legendSettings]="legendSettings" align='center' id='chartcontainer'
[primaryXAxis]='primaryXAxis' [primaryYAxis]='primaryYAxis' [tooltip]='tooltip' (load)='load($event)'
[chartArea]='chartArea' [width]='width'>
<e-series-collection>
<e-series [dataSource]='data' type='Line' xName='x' yName='y' name='Germany' width=2 [marker]='marker'>
</e-series>
</e-series-collection>
</ejs-chart>
// add your additional code here
public primaryXAxis: Object = {
valueType: 'DateTime',
labelStyle: {
size: '14px',
color: 'white',
fontFamily: 'Segoe UI',
fontWeight: 'bold'
},
};
public primaryYAxis: Object = {
labelStyle: {
size: '14px',
color: 'white',
fontFamily: 'Segoe UI',
fontWeight: 'bold'
},
};
public legendSettings: Object = {
textStyle: {
size: '14px',
color: 'white',
fontFamily: 'Segoe UI',
fontWeight: 'bold'
}
};
// add your additional code here
|
How to change color of period selector also why unselected region in range nvaigator does have grey shading
need fix for :
Thanks for your reply it worked partially.
As we are having our own themes as per our design system, i prefer not to use highcontrast theme.
i can achieve with above solution is :
But still labels and the bar of period selector is open issue for me.
also i need to change color of grouping bar as well as pagination bar for data grid
<ejs-rangenavigator [labelStyle]='labelStyle' [navigatorStyleSettings]='navigatorStyleSettings' >
</ejs-rangenavigator>
<style>
.e-toolbar .e-toolbar-items{
}
</style>
public labelStyle: Object = { color: 'white'};
public navigatorStyleSettings: Object = {
unselectedRegionColor: 'transparent',
selectedRegionColor: 'rgba(121, 236, 228, 0.3)'
}; |
/* Group drop area */
.e-grid .e-groupdroparea {
background-color: #607d8b;
}
/* Grid pager root element*/
.e-grid .e-gridpager {
background-color: #607d8b;
} |
still there are some issues. got pager container
How to apply highcontrast or other theme to grid..i tried theme="XX"
i dont want to use your theme but i want to customize ..when i tried to overwrite page container css
its not working
.e-pager .e-pagercontainer, .e-pager .e-pagercontainer div {
background-color: #c2ef10 !important;
} |