Search found 5 matches

by hl_107
Tue Oct 11, 2011 7:47 am
Forum: JFreeChart - Stockmarket
Topic: candlestick chart - space issue
Replies: 0
Views: 10684

candlestick chart - space issue

I was working on daily/weekly candlestick charts. the daily chart renders well, but there seems to be some issues with the weekly chart. basically too much space is added between bars, which impacts the bar body rendering. any idea on what might be wrong and how to work it around? daily chart: http:...
by hl_107
Wed Dec 01, 2010 10:56 pm
Forum: JFreeChart - Stockmarket
Topic: candlestick and MondayThroughFridayTimeline
Replies: 4
Views: 16201

Re: candlestick and MondayThroughFridayTimeline

there seems to be a bug in DateAxis.java, at least in my case. i filed a bug to sourceforge. the following line may adjust the date to a previous hidden date, which can lead to infinite loop. tickDate = correctTickDateForPosition(tickDate, unit, this.tickMarkPosition); protected List refreshTicksHor...
by hl_107
Tue Jul 13, 2010 12:33 am
Forum: JFreeChart
Topic: adjust bar distance within same category
Replies: 0
Views: 1914

adjust bar distance within same category

i have a bar chart with 2 bars(positive & negative) within each category. the distance is a bit too wide in my case. what would be the right way to adjust the distance(may make them vertical aligned)? i have attached a sample bar chart.

Image

thanks
Jeff
by hl_107
Sun May 02, 2010 10:54 pm
Forum: JFreeChart - Stockmarket
Topic: candlestick and MondayThroughFridayTimeline
Replies: 4
Views: 16201

candlestick and MondayThroughFridayTimeline

i was trying to get rid of the gaps(weekends) from a candlestick chart, by ((DateAxis) plot.getDomainAxis()).setTimeline(SegmentedTimeline.newMondayThroughFridayTimeline()); it ran into busy loop or something when the dataset size is more than 70-80. did i miss something or this might be a potential...
by hl_107
Wed Mar 10, 2010 11:16 pm
Forum: JFreeChart
Topic: Barchart bar and label alignment
Replies: 1
Views: 2772

Barchart bar and label alignment

I am using 1.0.13. Barchart works fine with positive values, but the alignment seems to be off with negative values. Below is a screenshot. setBaseNegativeItemLabelPosition doesn't seem to help either. Can someone pls help me out here? thanks Jeff JFreeChart chart = ChartFactory.createBarChart(title...