Search found 5 matches

by reynard80
Thu Mar 15, 2018 10:15 pm
Forum: JFreeChart
Topic: How to setRange for RangeAxis in CombinedDomainXYPlot
Replies: 0
Views: 1215

How to setRange for RangeAxis in CombinedDomainXYPlot

I have a CombinedDomainXYPlot with a main XYPlot and a few subplots. For some of the subplots, I want to manually set the range of the y-axis, as it displays values that have a known range (but the datasets do not always contain data that covers values in the complete range). However, I can't seem t...
by reynard80
Mon Mar 05, 2018 4:10 pm
Forum: JFreeChart
Topic: Bar width of XYBarRenderer
Replies: 0
Views: 1289

Bar width of XYBarRenderer

I can't seem to get the bars of my XYBarRenderer right. They keep looking like this, no matter what I tried with setting the stroke and width. https://image.ibb.co/nJN2a7/smallbars.png However, I want them to look (exactly) like the volume bars in the candlestick chart (except maybe red for negative...
by reynard80
Mon Mar 05, 2018 4:02 pm
Forum: JFreeChart
Topic: Limit date range of XYPlot x-axis
Replies: 3
Views: 1645

Re: Limit date range of XYPlot x-axis

I have managed to solve this problem by just disabling the zoom on the y-axis. This enables the user to zoom and pan on the x-axis as desired.
by reynard80
Tue Feb 27, 2018 9:12 pm
Forum: JFreeChart
Topic: Limit date range of XYPlot x-axis
Replies: 3
Views: 1645

Re: Limit date range of XYPlot x-axis

Thanks for your reply. I should have specified my question better though, as I need a Candlestick chart for this project. It is a TimeSeries but a ohlcDataset. So, is it possible to do this in such a chart? It would be ideal if the x-axis would be 'scrollable' to the left and right to move through t...
by reynard80
Tue Feb 27, 2018 7:51 pm
Forum: JFreeChart
Topic: Limit date range of XYPlot x-axis
Replies: 3
Views: 1645

Limit date range of XYPlot x-axis

I'm working on a chart with financial data, using a large dataset. When I generate the chart, the x-axis is generated for the full range of dates. This makes the chart unreadable, as there are too much ticks. For example, I have a dataset for a week, with data for every minute. I would like to show ...