Change X and Y axis color.
See original GitHub issueI’m submitting a … (check one with “x”)
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[x] support request => Please do not submit support request here
How can I change the color for X and Y axis data. I have to change the font color of the underline data.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Matplotlib: Changing the color of an axis - Stack Overflow
ax. tick_params(axis='x', colors='red') seems to change the color of both the tick and the label... Is it possible to use ax. yaxis.
Read more >Modify Properties of Charts with Two y-Axes - MathWorks
Specify the colors for a chart with two y-axes by changing the default axes color order. Create a figure. Define two RGB color...
Read more >How to customize chart axis - Get Digital Help
How to customize chart axis ; Press with mouse on the axis values you want to change. Go to tab "Home" on the...
Read more >Customize X-axis and Y-axis properties - Power BI
Customize the X-axis labels · Color: Select black · Text size: Enter 14 · Font family: Select Arial Black · Columns: Open Spacing...
Read more >Graph tip - Formatting the right and left Y axes differently.
Click on one of the axes to select. Drop the Change menu, and choose Selected Object; Change the color. You can also change...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can override the CSS of any element like here:
https://github.com/swimlane/ngx-charts/blob/master/demo/app.component.scss#L218
@MateenKadwaikar I managed to do this through selecting the CSS child. The following code will change the colour of the ‘2010’ label.
::ng-deep .ngx-charts { .x { .tick { &:first-child { text { fill: #fff; } } } } }