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.

Cartesian grid vertical fill color

See original GitHub issue

I have a requirement to alternate the fill color in the grid. I am able to set the fill color, but is there a way to customize it so that I can alternate between two colors. Diagram attached.

It would be great if the fill took an array as input and cycle through the input colors. Something like:

<CartesianGrid vertical horizontal={false} verticalFill={['#555555', '#444444']} fillOpacity={0.2} /> Thank you.

chart

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
costagolubcommented, Sep 4, 2017

#867 pushed request about this

0reactions
xile611commented, Mar 13, 2020

Sorry for not handling your issue in time, please try the latest version. If the problem persists, please submit the issue according to the issue specification.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recharts - Adjust the position of the yAxis cartesian grid
How can I adjust my yAxis Cartesian grid to be at the start of the bar instead of the centre and also extend...
Read more >
RadCartesianChartGrid | Progress NativeScript UI API
A cartesian grid draws vertical and horizontal lines aligned to each tick from ... Gets or sets the color of the fill drawn...
Read more >
Basic concepts of grid layout - CSS: Cascading Style Sheets
A grid is a set of intersecting horizontal and vertical lines defining columns and rows. Elements can be placed onto the grid within...
Read more >
Cartesian Axes - Chart.js
The grid lines for an axis are drawn on the chart area. In the image below, they are red. config setup.
Read more >
6.33. Configure Grid… - GIMP Documentation
The GIMP provides only Cartesian grids. You can choose the color of the grid lines, and the spacing and offsets from ... Foreground...
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