Search found 45 matches
- Tue May 24, 2016 7:19 am
- Forum: JFreeChart
- Topic: Equal Axis by click
- Replies: 2
- Views: 4179
Re: Equal Axis by click
Yeah, you are absoluty right. So i tried a little bit more and found this solution: (It works great for me) ValueAxis rangeAx = getDrawingPanel().getXYPlot().getRangeAxis(); double differenceY = rangeAx.getUpperBound() - rangeAx. getLowerBound(); //DOMAIN ValueAxis domainAx = getDrawingPanel().getXY...
- Mon May 23, 2016 12:00 pm
- Forum: JFreeChart
- Topic: Equal Axis by click
- Replies: 2
- Views: 4179
Equal Axis by click
Hello everyone. I have a normal XYPlot with a XYLineAndShapeRenderer and XYSeriesCollection. I am plotting different shapes. My clients want to have a button which generates "equal axis". Check out the images then you will get what I need. It is kind of squared axis. I found a old topic about it, bu...
- Wed Apr 27, 2016 10:27 am
- Forum: JFreeChart
- Topic: How to increase a Barchart's minimum width for large charts
- Replies: 7
- Views: 6862
Re: How to increase a Barchart's minimum width for large cha
Hi, have you thought about changing the barWidth depending the zoom factor? By the way: if you want to have thicker bars in larger zoom outs, your "area", where your Bar belongs to will get larger too. So actually you had the bar from 48-52 for example, and with changing the bar width your area woul...
- Thu Apr 21, 2016 12:49 pm
- Forum: JFreeChart
- Topic: StandardBarPainter
- Replies: 4
- Views: 5159
Re: StandardBarPainter
Oh well, sorry that i misunderstood your question. I could have told you that earlier than how that works. But great that you found it yourself.
Greetings
Greetings
- Thu Apr 21, 2016 9:55 am
- Forum: JFreeChart
- Topic: StandardBarPainter
- Replies: 4
- Views: 5159
Re: StandardBarPainter
hey,
mabye a silly idea, but why don´t you just squeeze the Y-Axis? So only difference between these two charts I see, is that the second one is way smaller in the Y-Axis and larger in the X-Axis.
Or do I misunderstand you?
Greetings Tobi
mabye a silly idea, but why don´t you just squeeze the Y-Axis? So only difference between these two charts I see, is that the second one is way smaller in the Y-Axis and larger in the X-Axis.
Or do I misunderstand you?
Greetings Tobi
- Thu Feb 04, 2016 8:34 am
- Forum: JFreeChart
- Topic: Line Chart - Adjusting padding for first/last tick marks
- Replies: 4
- Views: 4724
Re: Line Chart - Adjusting padding for first/last tick marks
Hey!
forget this, I thought you were using normal XYPlot.
Greetings
forget this, I thought you were using normal XYPlot.
Greetings
- Thu Dec 17, 2015 8:22 am
- Forum: JFreeChart
- Topic: Not seeing XY points from chartMouseClicked event
- Replies: 1
- Views: 4836
- Tue Nov 24, 2015 10:06 am
- Forum: JFreeChart
- Topic: Bar Chart Double Precision
- Replies: 3
- Views: 5905
Re: Bar Chart Double Precision
I am glad that I was able to help you.
Happy coding.
Happy coding.
- Tue Nov 24, 2015 8:26 am
- Forum: JFreeChart
- Topic: Bar Chart Double Precision
- Replies: 3
- Views: 5905
Re: Bar Chart Double Precision
At first you maybe should post a screenshot of what exactly your problem is. If I understand you right, you would like to decide yourself how the Y-Axis is shown? You can recieve this by doing this: XYPlot plot = getXYPlot(); NumberAxis axis = new NumberAxis(); axis.setRange(lower, upper); plot.setR...
- Tue Nov 17, 2015 4:34 pm
- Forum: JFreeChart
- Topic: [Solved] Change RangeAxis reference and orientation
- Replies: 2
- Views: 5214
Re: Change RangeAxis reference and orientation
hey,
actually you should have checked the XYBarRenderer. This Renderer has a method which is called "setBase". You can you use it this way.
I hope this is what you were looking for.
Greetings
actually you should have checked the XYBarRenderer. This Renderer has a method which is called "setBase". You can you use it this way.
Code: Select all
barRenderer.setBase(-30.);
Greetings
- Wed Nov 04, 2015 10:09 am
- Forum: JFreeChart
- Topic: XYDotRenderer has no tooltips
- Replies: 3
- Views: 6613
Re: XYDotRenderer has no tooltips
This is what the drawItem method looks like right now. I just tested it and it works fine. I guess it is not the best solution, but I just copied the important parts of the XYLineAndShapeRenderer to the XYDotRenderer. /** * Draws the visual representation of a single data item. * * @param g2 * the g...
- Wed Nov 04, 2015 8:06 am
- Forum: JFreeChart
- Topic: XYDotRenderer has no tooltips
- Replies: 3
- Views: 6613
Re: XYDotRenderer has no tooltips
Thanks David, I will give it a try.
- Thu Oct 29, 2015 1:08 pm
- Forum: JFreeChart
- Topic: XYDotRenderer has no tooltips
- Replies: 3
- Views: 6613
XYDotRenderer has no tooltips
Hey guys! I have to use the XYDotRenderer and everything works perfect. The only problem i noticed is, that the BaseToolTipGenerator does not work for this renderer. I read that this is caused because the XYDotRendere does not support chart entities. Is there a common way to get tooltips for my data...
- Wed Sep 23, 2015 12:24 pm
- Forum: JFreeChart
- Topic: Providing a patch to the trunk/branch
- Replies: 4
- Views: 7608
Re: Providing a patch to the trunk/branch
Okay thank you for your reply.
That would be absolutly sufficient in my eyes, I would appreciate your change for the next release.
Greetings,
Tobi
That would be absolutly sufficient in my eyes, I would appreciate your change for the next release.
Greetings,
Tobi
- Thu Sep 17, 2015 1:49 pm
- Forum: JFreeChart
- Topic: Providing a patch to the trunk/branch
- Replies: 4
- Views: 7608
Re: Providing a patch to the trunk/branch
Hey,
I have the same issue as Daniel. I changed the variable "panMask" in ChartPanel to "protected", that allows me to change the mouse Events.
Do I have to "patch" this? And where do I have to put the patch?
Greetings
I have the same issue as Daniel. I changed the variable "panMask" in ChartPanel to "protected", that allows me to change the mouse Events.
Do I have to "patch" this? And where do I have to put the patch?
Greetings