OHLCSeries' volumeData seems to do nothing.
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- data-visualization
Research direction
Start with OHLCChartBuilder and the OHLCChart.addSeries overload that accepts volumes, then trace how the series reaches BitmapEncoder.getBufferedImage(chart). Reproduce the supplied example and inspect the rendered chart; done means the volume data is visibly rendered inline along the bottom of the OHLC graph.
Written by the indexing model from the issue text.
Description
When creating a OHLC chart with volume data like below, it doesn't seem to display volumes at all. candles.getVolumes() contains data.
OHLCChart chart = new OHLCChartBuilder().width(2000).height(750).title(cp.getName()).build();
chart.addSeries("Series", candles.getAsDates(), candles.getOpens(), candles.getHighs(), candles.getLows(), candles.getCloses(), candles.getVolumes())
.setUpColor(Color.GREEN)
.setDownColor(Color.RED);
BufferedImage bi = BitmapEncoder.getBufferedImage(chart);
// ..more
Example:

I would expect volume data to be rendered inline along the bottom of the graph.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 400
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 7
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
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
Maintainers usually reply within 4 days
-
Difficulty 3/5 1-2 days Newbie friendliness 67/100
Maintainers usually reply within 4 days
-
Cleanup: generate axis ticks in-range instead of pruning after the fact (follow-up to #634)Possibly taken @Sinkleberg claimed this 20 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 4 days
-
`CategoryChart.addSeries` could support additional call signature for interoperability with ScalaPossibly taken @Sinkleberg claimed this 20 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Maintainers usually reply within 4 days
Similar issues
-
documentation good first issue help wanted
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eclipse-sw360/sw360#4849 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
bug key bindings
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Android Bug Core Drape
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
organicmaps/organicmaps#14449 ·
Maintainers usually reply within 1 day