question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change X and Y axis color.

See original GitHub issue

I’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.

image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
marjan-georgievcommented, Feb 3, 2017
0reactions
ChrisGriggcommented, Dec 20, 2019

@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; } } } } }

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found