Igx-chart brushes
New DiscussionHi,
I am using pie-chart & category-chart. I have added brushes color to it. But at the initial load it is showing the default color & again if I reload it then it will apply the brushes color. Following is the code I am using:-
<igx-category-chart height="100%"
width="100%"
chartType="Column"
[dataSource]="lineDataSource"
valueMemberPath="pOcount"
labelMemberPath="pOnumber"
xAxisTitle="PurchaseOrder"
yAxisTitle="Count"
othersCategoryThreshold="0"
[brushes]="brushes"
[outlines]="outlinebrushes"
[tooltipTemplate]="valueTooltip">
</igx-category-chart>
brushes value is the following:-
this.brushes = [‘#FFD3A8 ‘, ‘#FFD8D8’];
Also, igx-theme is not included in our project. Is there any other way to change the default color? If yes, then please send me the solution.
If not, then how can I include igx-theme to my project? I am using angular9. Please let me know the solution, if you send an example or sample that might be helpful.
Thanks in Advance!