Vertical and horizontal grid lines are not visible inside the area chart
See original GitHub issueAwesome library, love it especially due to real-time features like .repaintChart().
Is there a way to make the gridlines visible within the area chart? For now, grid lines are visible but they are in the background. Is it possible to achive something like this?
At present, it appears like this
I want my chart to show the gridlines in the background.
I set the following properties to true but had no luck. Am I missing something? Thanks again!
xyChart.getStyler().setPlotGridVerticalLinesVisible(true);
xyChart.getStyler().setPlotGridHorizontalLinesVisible(true);
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
Display or hide chart gridlines - Microsoft Support
Select the horizontal or vertical chart gridlines that you want to remove, and then press DELETE.
Read more >Google AreaChart not displaying Vertical Gridlines.
As I understand it vAxis is for vertical axis and vAxis.gridlines is for horizontal lines. It seems that you have problem with hAxis.gridlines....
Read more >How to show & hide Gridlines in Line Graphs in Excel 2013
Want to show and hide Gridlines in Line Graphs in Microsoft® Excel 2013? Follow the easy steps shown in this video. Content in...
Read more >Formatting Gridlines
Horizontal gridlines in a vertical chart run on the Y axis. Horizontal major gridlines enhance the display of values, compared to the Y-axis...
Read more >Line Chart not displaying X-Axis gridlines
Wondering how to show vertical x-axis gridlines on a line chart? I've turned on the 'X axis' setting for 'Gridlines', but lines are...
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
Add series, put
Ser1_UsedHeap
behindThe result is this:
@pwankhed addSeries, big data comes first
The effect is as follows:
xyChart.getStyler().setDefaultSeriesRenderStyle(XYSeriesRenderStyle.Area)
, this style draw the area, drawing the series behind will cover the previous series.Can it be changed to draw lines,set style
xyChart.getStyler().setDefaultSeriesRenderStyle(XYSeriesRenderStyle.Line)
, like this: