X-Axis Line not visible
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- java
- Domain
- data-visualization
Research direction
Start by reproducing the chart with the shown chart.getStyler() calls on XChart 3.8.8 and 4.0.4, then compare the axis rendering and layout behavior between versions. Trace the X-axis line positioning from the styling configuration; done means the line is visible with the 4.0.4 setup as it was in 3.8.8.
Written by the indexing model from the issue text.
Description
Describe the bug
After the upgrade from 3.8.8 to 4.0.4 the X-Axis Line is moved up and therefore it is behind the chart and invisible.
To Reproduce
chart.getStyler()
.setPlotGridLinesColor(ChartColor.WHITE.getColor());
chart.getStyler()
.setLocale(locale)
.setChartTitleVisible(true)
.setPlotBorderVisible(false)
.setLegendBorderColor(null)
.setPlotBackgroundColor(ChartColor.LIGHT_GREY.getColor())
.setChartBackgroundColor(ChartColor.WHITE.getColor())
.setLegendPadding(5)
.setLegendPosition(LegendPosition.OutsideS)
.setLegendLayout(LegendLayout.Horizontal);
Screenshots
With version 3.8.8:
With version 4.0.4:
Expected behavior
The X-Axis Line is visible as it was with version 3.8.8
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 398
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from knowm/XChart
-
BoxChart rejects valid List.of data with NullPointerExceptionPossibly taken @PHJ2000 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
-
OHLC: first and last candles are clipped at the plot edgesPossibly taken @timmolter claimed this 46 days ago. OpenAesthetics
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
`CategoryChart.addSeries` could support additional call signature for interoperability with ScalaOpen
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
AnnotationsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
Similar issues
-
[Bug] Logo style setting missing and `classic` style not applied across multiple platforms (v3.1.0)Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Stirling-Tools/Stirling-PDF#8382 · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 Under an hour Newbie friendliness 70/100
Maintainers usually reply within 4 days
-
enhancement untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
opensearch-project/sql#5842 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
openhab/openhab-addons#21882 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
YunaiV/ruoyi-vue-pro#1273 ·
Maintainers usually reply within 3 days