Search found 45 matches

by Naxter
Fri Jun 12, 2015 7:34 am
Forum: JFreeChart
Topic: JFreeChart - always in forefront
Replies: 3
Views: 4782

Re: JFreeChart - always in forefront

As your Frame ist actually extending a JFrame, you can use this method : http://docs.oracle.com/javase/7/docs/ap ... boolean%29

Hope it works for you
by Naxter
Tue May 19, 2015 12:00 pm
Forum: JFreeChart
Topic: Changing units of measurement in XYLineChart
Replies: 3
Views: 3576

Re: Changing units of measurement in XYLineChart

I see your problem, but as i said I am not quit sure if manipulating the ticks is the right way. That´s only my point of view.
I hope i´ve helped you at least a little bit.

Greetings
by Naxter
Tue May 19, 2015 7:24 am
Forum: JFreeChart
Topic: Changing units of measurement in XYLineChart
Replies: 3
Views: 3576

Re: Changing units of measurement in XYLineChart

Actually it´s not a good way to manipulate the ticks when you have different coordinates displayed at the graph.
Why don´t you try to scale your points?
by Naxter
Mon Apr 20, 2015 7:07 am
Forum: JFreeChart
Topic: Scrollbar in a line chart
Replies: 5
Views: 6791

Re: Scrollbar in a line chart

Have you tried to enclose it in a JScrollPane?
by Naxter
Fri Apr 17, 2015 8:42 am
Forum: JFreeChart
Topic: Switch between XYLineAndShapeRenderer and XYBarRender
Replies: 3
Views: 3793

Re: Switch between XYLineAndShapeRenderer and XYBarRender

Maybe you can put youre code in the "code" signature next time, so we can have a better overview. Just click at the "Code"-Button above your input field and fill in your java Code.
by Naxter
Fri Apr 10, 2015 10:32 am
Forum: JFreeChart
Topic: Swing menu internationalization
Replies: 5
Views: 5127

Re: Swing menu internationalization

Check under org.jfree.chart.LocalizationBundle.properties. You have different Locales there, maybe you have to add you country or just edit the ones which are there
by Naxter
Fri Apr 10, 2015 8:46 am
Forum: JFreeChart
Topic: setSeriesVisibleInLegend not working on a XY Area Chart
Replies: 4
Views: 4012

Re: setSeriesVisibleInLegend not working on a XY Area Chart

Did you debug through and checked if your "if-statement" -> "if (i==6)" is true somewhen?
by Naxter
Thu Apr 02, 2015 12:28 pm
Forum: JFreeChart
Topic: Swing menu internationalization
Replies: 5
Views: 5127

Re: Swing menu internationalization

Mostly you use the bundles aswell. Which components do you want to internationalize ? If you create your own component, you just use it like you always use it: String international = Nbbundle.getMessage(<Yourclass>.class, "yourkey.title"); component.setXAxisName(international); Do you mean this situ...
by Naxter
Tue Mar 31, 2015 12:07 pm
Forum: JFreeChart
Topic: graph covered when tooltip is shown
Replies: 8
Views: 6607

Re: graph covered when tooltip is shown

Okay that is even stranger then.
Well so the ToolTipGenerator does not cause this problem...it might be a problem with the chartpanel yes.
I don´t see the problem in your code, my charts use the same methods and there is no problem with tooltips though.
I am sorry
by Naxter
Tue Mar 31, 2015 11:52 am
Forum: JFreeChart
Topic: graph covered when tooltip is shown
Replies: 8
Views: 6607

Re: graph covered when tooltip is shown

That is a very strange behaviour, never had that before. Still it is very hard to find the problem with no code, but i actually dont know which part would be important to see.

What happens when you dont set the tooltip generator ? Is there still the same problem?
by Naxter
Tue Mar 31, 2015 11:20 am
Forum: JFreeChart
Topic: graph covered when tooltip is shown
Replies: 8
Views: 6607

Re: graph covered when tooltip is shown

Code from the Bubblerenderer for example.

Does this rectangle disappear when you move the mouse away from the bubbles ?
by Naxter
Tue Mar 31, 2015 11:01 am
Forum: JFreeChart
Topic: graph covered when tooltip is shown
Replies: 8
Views: 6607

Re: graph covered when tooltip is shown

Can you make a screenshot of your issue? And maybe post your code of the tooltip?
It is hard to support you with no code and screenshots :)
by Naxter
Tue Mar 31, 2015 7:22 am
Forum: JFreeChart
Topic: Swing menu internationalization
Replies: 5
Views: 5127

Re: Swing menu internationalization

Which IDE are you using?
by Naxter
Mon Mar 30, 2015 10:22 am
Forum: JFreeChart
Topic: Using the mouse scrollwheel to zoom in/out ?
Replies: 2
Views: 4523

Re: Using the mouse scrollwheel to zoom in/out ?

If you extend the ChartPanel, you can actually set it via "super" public CustomChartPanel(JFreeChart chart) { //the fifth boolean is actually for "zoom" and the scrollwheel is default super(chart, false, true, false, true, true); } I actually never tried to use "setDomainZoomable(boolean flag)" or "...
by Naxter
Thu Jun 26, 2014 8:26 am
Forum: JFreeChart
Topic: Stacked bar chart with multiple categories(sample image att)
Replies: 2
Views: 5843

Re: Stacked bar chart with multiple categories(sample image

Push. Has anyone an idea how that could be implemented? I have probably the same problem at the moment.