Search found 26 matches

by ekta1994
Fri Jun 02, 2017 9:30 am
Forum: JFreeChart
Topic: Point whiskers
Replies: 10
Views: 9203

Re: Point whiskers

Yes. I am doing the same for XYErrorRenderer and using XYIntervalSeriesCollection. But the scale on which it plots the point looks very bad. While if I normally plot the points on an XY plot without drawing any error bars, it looks good.
by ekta1994
Fri Jun 02, 2017 5:12 am
Forum: JFreeChart
Topic: Point whiskers
Replies: 10
Views: 9203

Re: Point whiskers

This renderer needs OHLC dataset in which every OHLC data item needs Date on x axis. I have normal (x,y) points to be plotted and (x-deltaX -> x+deltaX) to be shown via whiskers.
Also, why this renderer is developed specific for date purpose?
by ekta1994
Thu Jun 01, 2017 12:22 pm
Forum: JFreeChart
Topic: Point whiskers
Replies: 10
Views: 9203

Re: Point whiskers

Documentation says "for use with CategoryPlot". I have XY Plot. I cam across XYError renderers for XY plots. But that doesn't seem to be working good.
by ekta1994
Thu Jun 01, 2017 10:15 am
Forum: JFreeChart
Topic: Point whiskers
Replies: 10
Views: 9203

Point whiskers

I am drawing a scatter plot and need to show ranges in that. Like left and right range. By range, what I mean is, for the current (x,y) point on the scatter plot, i need to draw whiskers i.e. a line from x-(deltaX) to x. I don't want a simple straight line but somewhat like how minimum and maximum v...
by ekta1994
Wed May 31, 2017 1:09 pm
Forum: JFreeChart
Topic: Idea to distinguish items in XYBlockRenderer
Replies: 6
Views: 6020

Re: Idea to distinguish items in XYBlockRenderer

How to add annotations in graph plot when the renderer used is XY Block Renderer (XYZ dataset). I tried using plot.addAnnotation(x1,y1,x2,y2,stroke,color). But nothing i can see.
by ekta1994
Fri May 26, 2017 6:24 am
Forum: JFreeChart
Topic: Symbol Axis rotation
Replies: 4
Views: 4995

Symbol Axis rotation

I am creating the X and Y axis of the jfreechart using symbol axis and want to rotate its tick mark labels by any angle say 45. Using setSeriesPositiveItemLabelPosition() is not working.
Any way to do so?
by ekta1994
Sat May 13, 2017 7:52 am
Forum: JFreeChart
Topic: Idea to distinguish items in XYBlockRenderer
Replies: 6
Views: 6020

Re: Idea to distinguish items in XYBlockRenderer

My use case is just labelling blocks in lets say three categories A,B,C. They already have some colors and adding some more to them may make them tough for user to comprehend. That's why something simple like a small text label I am searching . However, an example of you suggestion will be helpful.
by ekta1994
Fri May 12, 2017 6:00 pm
Forum: JFreeChart
Topic: Idea to distinguish items in XYBlockRenderer
Replies: 6
Views: 6020

Idea to distinguish items in XYBlockRenderer

I want to distinguish the blocks of XYZDataset renderer via XYBlockRenderer. Please see, they already have z values by which they get color. But what I need is something like adding label to each block, like a simple alphabet for labelling every block. Semantically I can say adding categories. Any i...
by ekta1994
Fri May 12, 2017 5:25 pm
Forum: JFreeChart
Topic: XYBlockRenderer: change color of items
Replies: 5
Views: 4027

Re: XYBlockRenderer: change color of items

Changing z-value and then adding notifylistener calls the getPaint() for every dataset item i.e. whole repaint is happening. Shoudn't there be an easier method for this?
Also, why doesn't XYZDataset provide setZValue(int series, int item) when it provides getZValue(int series, int item) ?
by ekta1994
Fri May 12, 2017 9:30 am
Forum: JFreeChart
Topic: XYBlockRenderer: change color of items
Replies: 5
Views: 4027

Re: XYBlockRenderer: change color of items

Yes, I can return the desired color. I am currently also doing the same but how to modify the color for a particular item of XYZ dataset. On mouse over, I want color of only one particular item to be changed. getPaint() distinguishes color using the z-value, not on the basis of item number. That is,...
by ekta1994
Fri May 12, 2017 8:18 am
Forum: JFreeChart
Topic: XYBlockRenderer: change color of items
Replies: 5
Views: 4027

XYBlockRenderer: change color of items

I am using XYBlockRenderer for XYZ dataset having items. Color of every item is a function of its z value. I am using paintscale to assign the color. Now, I want to change the color of any particular item, lets say 9'th on mouse over. But this should change color of only 9'th item number of the data...