Open ishwark7 opened 6 years ago
You should be able to override the CSS for the axis labels.
This way you can select axis label with css:
For both axis:
g.axis > g:last-child > text
For both For X Axis:
g.x.axis > g:last-child > text
For Y Axis:
g.y.axis > g:last-child > text
This works for me on bar-charts.
I'm submitting a ... (check one with "x")
Current behavior
There is no handle to change styleof X-Y axis names in bar charts eg: https://swimlane.gitbooks.io/ngx-charts/content/charts/bar-horizontal.html There is no way I can change styleof 'Germany/USA/France'
Expected behavior
We should be able to apply custom style on the names
Reproduction of the problem
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
ngx-charts version: x.x.x
7.0.1
Angular version: 2.x.x
Angular 5.x
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5] TypeScript ES6