Search found 26 matches
- Thu Dec 07, 2017 6:40 am
- Forum: JFreeChart
- Topic: addDomainMarker label not visible in dynamic plot
- Replies: 12
- Views: 25565
Re: addDomainMarker label not visible in dynamic plot
Yeah. I included all the six files but certain classes it shows cannot be resolved to a type, namely, IntervalAnnotation, ValueAnnotation. These classes are acting as a superclass of the files created, but there aren't any such classes in the jfreechart library. Some help on this issue will be great.
- Wed Dec 06, 2017 8:15 am
- Forum: JFreeChart
- Topic: Tooltip in Interval Marker- JFreeChart
- Replies: 3
- Views: 8580
Re: Tooltip in Interval Marker- JFreeChart
Okay. Thanks. I'm looking for the various annotation classes and get a feel that second issue can be resolved by that. But how the first issue can be fixed using these classes?
- Wed Dec 06, 2017 8:14 am
- Forum: JFreeChart
- Topic: addDomainMarker label not visible in dynamic plot
- Replies: 12
- Views: 25565
Re: addDomainMarker label not visible in dynamic plot
Hi,
I tried to add the class file XYDomainValueAnnotation in my project. It gives the error that there is no class named ValueAnnotation. What can be done for that?
I tried to add the class file XYDomainValueAnnotation in my project. It gives the error that there is no class named ValueAnnotation. What can be done for that?
- Tue Dec 05, 2017 5:58 am
- Forum: JFreeChart
- Topic: Tooltip in Interval Marker- JFreeChart
- Replies: 3
- Views: 8580
Tooltip in Interval Marker- JFreeChart
I am using interval marker to mark a region of [a,b] on the x axis. I need to do two things now: 1.) I need to add tool-tip for the region, i.e. if a user hovers on any area of plot between [a,b] values of x, I should be able to display the tool-tip. As, I understand, I can do this by detecting the ...
- Mon Aug 07, 2017 9:18 am
- Forum: JFreeChart
- Topic: Single axis graphs in JFreechart
- Replies: 3
- Views: 7361
Re: Single axis graphs in JFreechart
What do you mean by the z value?
- Fri Aug 04, 2017 12:59 pm
- Forum: JFreeChart
- Topic: Single axis graphs in JFreechart
- Replies: 3
- Views: 7361
Single axis graphs in JFreechart
An idea to plot graphs like this (https://i.stack.imgur.com/AxMUu.gif) in JFreechart? Event graphs having only one axis. Example, showing the occurrence of any event at a particular time. No value or anything to put on y axis.
Any help will be appreciated!
Thanks
Any help will be appreciated!
Thanks
- Wed Jul 26, 2017 11:51 am
- Forum: JFreeChart
- Topic: NumberAxis
- Replies: 0
- Views: 4625
NumberAxis
I have a number axis as my y axis whose range may vary from -x to x. I want only +ve y values to be visible on the axis. Also, in place of 0 I want "E" or some other custom text to be displayed in its place. Please see, I cannot change the range of axis as I want points which have -ve y to be still ...
- Mon Jun 26, 2017 1:59 pm
- Forum: JFreeChart
- Topic: Trying to set the block height and width in XYBlockRenderer
- Replies: 8
- Views: 12412
Re: Trying to set the block height and width in XYBlockRende
Okay. Correct. Thanks a lot, I now understood how exactly the renderer renders the block. I just need to multiply the r,c values with 10 in my setValue function(). It works good now :) Actually, when I wasn't setting any height and width, the blocks were getting divided as per the frame size. That's...
- Mon Jun 26, 2017 9:52 am
- Forum: JFreeChart
- Topic: Trying to set the block height and width in XYBlockRenderer
- Replies: 8
- Views: 12412
Re: Trying to set the block height and width in XYBlockRende
I expect all blocks to be of height and width as 10. Like the one visible, all must come that way only.
- Sun Jun 25, 2017 7:06 pm
- Forum: JFreeChart
- Topic: Trying to set the block height and width in XYBlockRenderer
- Replies: 8
- Views: 12412
Re: Trying to set the block height and width in XYBlockRende
In this piece of code, can you please tell how are my items overlapping: public class Demo3 { static double[] xvalues = new double[10 * 10]; static double[] yvalues = new double[10 * 10]; static double[] zvalues = new double[10 * 10]; static double[][] data = new double[][] { xvalues, yvalues, zvalu...
- Sun Jun 25, 2017 4:19 pm
- Forum: JFreeChart
- Topic: Trying to set the block height and width in XYBlockRenderer
- Replies: 8
- Views: 12412
Re: Trying to set the block height and width in XYBlockRende
I am just setting the block height and width using this:
I am drawing 6 cells and output comes like thishttps://drive.google.com/open?id=0Bwt0u ... i1jZ0FBRGM.
Code: Select all
renderer.setBlockHeight(10);
renderer.setBlockWidth(10);
- Fri Jun 23, 2017 4:53 pm
- Forum: JFreeChart
- Topic: Trying to set the block height and width in XYBlockRenderer
- Replies: 8
- Views: 12412
Trying to set the block height and width in XYBlockRenderer
Hi I am trying to set the block height and width in XYBlockRenderer to 10. My chart has 100 data items to be shown but only one data item gets drawn with 10X10 dimensions. Others still take 1X1. Why is it such? If of any help, the last data item takes the correct size but others still have 1 axis un...
- Fri Jun 23, 2017 4:31 pm
- Forum: JFreeChart
- Topic: PaintscaleLegend problem with the jfreechart
- Replies: 3
- Views: 6295
Re: PaintscaleLegend problem with the jfreechart
Yes. My paintscale had 100 values(0-100). So I did as mentioned (overriding valuetoString method) and it worked like a charm. Thanks 
But when my symbol axis has only two items, it was displaying Minimum for zero value, then why wasn't it displaying Maximum for 1 value?

But when my symbol axis has only two items, it was displaying Minimum for zero value, then why wasn't it displaying Maximum for 1 value?
- Thu Jun 22, 2017 4:59 pm
- Forum: JFreeChart
- Topic: PaintscaleLegend problem with the jfreechart
- Replies: 3
- Views: 6295
PaintscaleLegend problem with the jfreechart
Hi I am trying to display the PaintScaleLegend for the chart whose paintscale is the variable paintScale in the below code. What I am doing is this: SymbolAxis scaleAxis = new SymbolAxis("", new String[]{"Minimum", "Maximum"}); scaleAxis.setGridBandsVisible(false); PaintScaleLegend psLegend = new Pa...
- Tue Jun 06, 2017 6:33 am
- Forum: JFreeChart
- Topic: Point whiskers
- Replies: 10
- Views: 17099
Re: Point whiskers
XYErrorRenderer worked. Problem was happening because of custom range setting. I wasn't over riding restoreAutoBounds(). But the other issue I am running into is: The dataset for the renderer is of the form (x, xmin, xmax, Y ) for YIntervalSeries. This draws the error bars from xmin-->x-->xmax. In s...