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.

Request to add an input property to change line chart background 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
[ ] support request => Please do not submit support request here

Current behavior I don’t think there is currently a way to override the styling to set a background color for the graph section of the chart. I.E. The area only inside the black box below.

Someone please let me know if I am mistaken.

capture

Expected behavior Some way to change this color

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marjan-georgievcommented, Apr 25, 2017

Do you only want to set a background color to only behind the lines without the axis and the legend? That is not currently possible.

0reactions
robphoenixcommented, Sep 18, 2018

set a background color to only behind the lines without the axis and the legend

This would be good to have.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Conditionally Color Background JavaFX LineChart
This answer includes a single red color gradient because that is what OP wants. Solution import javafx.application.Application; import javafx.
Read more >
Use a JavaScript Function to Change Background Color with ...
Change the background color of the web page (or another element) using a textbox (user has to type in a color name/value) or...
Read more >
backgroundColor - Sets the Background Color of Chart
backgroundColor property sets the Background Color of Chart to the given Color Name, HEX or RGBA Color.
Read more >
Video: Customize a line chart - Microsoft Support
Click the chart you want to change. · In the upper-right corner, next to the chart, click Chart Styles. · Click Color and...
Read more >
Chart Styling - Smart HTML Elements
Border Line Color, Background Color, and Background Image. You can change the chart's border color by setting the borderLineColor property: const chart = ......
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