Search found 1087 matches

by skunk
Mon Dec 06, 2010 7:35 pm
Forum: JFreeChart
Topic: Spacing of SymbolAxis Tick Marks
Replies: 6
Views: 5642

Re: Spacing of SymbolAxis Tick Marks

It appears that the problem with this technique is that SymbolicAxis starts off the symbols at 0 then 1,2,3 etc...If I could figure out a way to start the SymbolicAxis at -5 then I could just use that. Your reply crossed my edit. Thats what I meant by handling the mapping in your own application co...
by skunk
Mon Dec 06, 2010 7:24 pm
Forum: JFreeChart
Topic: Spacing of SymbolAxis Tick Marks
Replies: 6
Views: 5642

Re: Spacing of SymbolAxis Tick Marks

Assuming I understand what you are trying to achieve, it is not supported by the library. I don't believe there is anything built in to the library to synchronize tick mark positions across multiple discrete axes. You MAY be able to achieve the result you are looking for by setting the margins to 0 ...
by skunk
Mon Dec 06, 2010 6:26 pm
Forum: JFreeChart
Topic: Russian characters in labels
Replies: 9
Views: 7735

Re: Russian characters in labels

That should work, assuming that the Arial font on your machine has Cyrillic glyphs (mine does). Can you try calling this domainAxis.setLabelFont(new Font("Arial", Font.PLAIN , 12)); and changing the axis label to a string containing russion text to make sure that the axis label works, even if the la...
by skunk
Fri Dec 03, 2010 2:51 pm
Forum: JFreeChart
Topic: Text font size resized when the chart panel is reized
Replies: 4
Views: 6070

Re: Text font size resized when the chart panel is reized

The resizing only occurs if the size of the chart on your panel becomes larger than the maximum or smaller than the minimum.
by skunk
Thu Dec 02, 2010 2:50 pm
Forum: JFreeChart - Stockmarket
Topic: candlestick and MondayThroughFridayTimeline
Replies: 4
Views: 16141

Re: candlestick and MondayThroughFridayTimeline

Its a known bug. See this thread for more info and some possible workarounds
http://www.jfree.org/phpBB2/viewtopic.p ... inite+loop
by skunk
Thu Dec 02, 2010 1:49 am
Forum: JFreeChart
Topic: How to hide label on pie chart
Replies: 2
Views: 2806

Re: How to hide label on pie chart

Did you try setLabelGenerator(null)
by skunk
Wed Dec 01, 2010 4:31 am
Forum: JFreeChart
Topic: Chart looks fuzzy in Linux. Works great on windows
Replies: 2
Views: 2881

Re: Chart looks fuzzy in Linux. Works great on windows

Which JDK do you have installed on linux? openjdk or sun?
by skunk
Wed Dec 01, 2010 4:26 am
Forum: JFreeChart
Topic: Hide Zero Value Labels
Replies: 4
Views: 6443

Re: Hide Zero Value Labels

final StackedAreaRenderer renderer1 = new StackedAreaRenderer() { public boolean isItemLabelVisible(int row, int column) { double value = getPlot().getDataset(0).getValue(row, column); if (value == 0) return false; return super.isItemLabelVisible(row, column); } }; final GroupedStackedBarRenderer r...
by skunk
Tue Nov 30, 2010 6:03 pm
Forum: JFreeChart
Topic: TimeSeries + Millisecond timezone shift
Replies: 5
Views: 6537

Re: TimeSeries + Millisecond timezone shift

Try calling setTimeZone(...) on the DateAxis itself. It is not the same as the timezone on the (overridden) formatter
by skunk
Tue Nov 30, 2010 1:55 am
Forum: JFreeChart
Topic: Stacked Bars will Not Seperate
Replies: 5
Views: 5430

Re: Stacked Bars will Not Seperate

Sounds like GroupedStackedBarRenderer is what you need then.
by skunk
Tue Nov 30, 2010 12:55 am
Forum: JFreeChart
Topic: TimeSeries + Millisecond timezone shift
Replies: 5
Views: 6537

Re: TimeSeries + Millisecond timezone shift

Are you certain that the timezone in your dataitems is the same as the timezone set on the DateAxis and the same as the timezone on your DateFormatter? Did you try using the default Millisecond constructor that just uses the default timezone?
by skunk
Tue Nov 30, 2010 12:43 am
Forum: JFreeChart
Topic: Changing Line Chart shapes size
Replies: 2
Views: 4377

Re: Changing Line Chart shapes size

You should be able to achieve this by defining an AffineTransform of type TYPE_GENERAL_SCALE (by calling scale(...)or setting m00 and m11 to 0.5) and then apply the transform by calling transform(...) on the shape.
by skunk
Tue Nov 30, 2010 12:28 am
Forum: JFreeChart
Topic: Stacked Bars will Not Seperate
Replies: 5
Views: 5430

Re: Stacked Bars will Not Seperate

I'm not exactly sure what you are trying to achieve, but I think you should try using a GroupedStackedBarRenderer instead
by skunk
Mon Nov 29, 2010 7:40 pm
Forum: JFreeChart
Topic: plot background change 8 to 13
Replies: 3
Views: 3666

Re: plot background change 8 to 13

Themes were introduced in 1.0.11