Search found 14 matches

by sonali
Wed Mar 21, 2018 2:21 pm
Forum: JFreeChart
Topic: Segmented TimeLine : After Add New Item , Items Overlapping
Replies: 0
Views: 3955

Segmented TimeLine : After Add New Item , Items Overlapping

i am using version 1.0.19 of jfreechart . so there are supported segmented timeline. everything working fine but issue occur while updating highlowdataset .while adding new items in dataset new item plotted on same date time.any solution for that with segmented timeline? https://i.imgur.com/59UjBgh....
by sonali
Thu Dec 14, 2017 10:13 am
Forum: JFreeChart
Topic: Clickable Annotation?
Replies: 2
Views: 3995

Re: Clickable Annotation?

implements chartmouselistner in your class and in chartMouseClicked method you have to check is this event on xytitleannotation event.getEntity() instanceof TitleEntity for getting on which title click you have to set tooltip on xytitleannotation and you will get tooltip in chartMouseClicked method:...
by sonali
Thu Dec 14, 2017 9:45 am
Forum: JFreeChart
Topic: exception while draw many chart in CombinedDomainXYPlot
Replies: 0
Views: 3922

exception while draw many chart in CombinedDomainXYPlot

I am using JFreeChart 1.0.19 , while adding two or more subplot in CombinedDomainXYPlot one by one suddenly - i always got an error java.lang.ArrayIndexOutOfBoundsException: 1 at org.jfree.chart.plot.CombinedDomainXYPlot.draw(CombinedDomainXYPlot.java:511) . i had put thread.wait function for draw o...
by sonali
Wed Dec 06, 2017 11:22 am
Forum: JFreeChart
Topic: Trick For Mouse Action Listener on Marker
Replies: 2
Views: 4126

Re: Trick For Mouse Action Listener on Marker

i had try to set mouse action listener in XYRangeValueAnnotation class but failed! than i had do my job with identify tooltip of annotation object on event listen and chart panel have a option to add mouse listener so right now my job done! XYRangeValueAnnotation do my job because it allowed to set ...
by sonali
Tue Dec 05, 2017 1:00 pm
Forum: JFreeChart
Topic: Trick For Mouse Action Listener on Marker
Replies: 2
Views: 4126

Trick For Mouse Action Listener on Marker

Is there any way to identify that mouse click on the value marker ? so that we can drag and drop value marker or we can open new popup while on click action on marker.
by sonali
Wed Sep 20, 2017 7:33 am
Forum: JFreeChart
Topic: Properties Menu in JavaFX implementation
Replies: 2
Views: 3840

Re: Properties Menu in JavaFX implementation

I am also using jfreechart library with javafx application , but i had modified properties menu using swings two package like javax.swing.JMenuItem and javax.swing.JPopupMenu . ex: modification of it popup = mainChartPanel.getPopupMenu(); popup.remove(0); popup.remove(1); JMenuItem addstudy = new JM...
by sonali
Fri Sep 08, 2017 10:20 am
Forum: JFreeChart
Topic: How To create regression lines (standard deviation channel)
Replies: 8
Views: 9640

Re: How To create regression lines (standard deviation chann

As an aside, your renderer's colors don't match the...
Its work Perfect! Thank you.
by sonali
Fri Sep 08, 2017 10:17 am
Forum: JFreeChart
Topic: change individual tick labels , annotation/series hover css
Replies: 2
Views: 3593

Re: change individual tick labels , annotation/series hover

Thanks , you are right but i had done crosshairoverlay already as a option of this. i am trying to create label on axis and want to change color of series so one series can identify easily while many series in one plot.
by sonali
Fri Sep 08, 2017 7:12 am
Forum: JFreeChart
Topic: change individual tick labels , annotation/series hover css
Replies: 2
Views: 3593

change individual tick labels , annotation/series hover css

https://i.imgur.com/8pKHsCz.png jfreechart give easy way to create tool tips on many objects but i want to create tick label as like tool tip , actually as mouse moved in xyplot then easily get coordinates but how to add that custom single new value as tick label on axis and highlight it? i have al...
by sonali
Thu Sep 07, 2017 7:03 am
Forum: JFreeChart
Topic: How To create regression lines (standard deviation channel)
Replies: 8
Views: 9640

Re: How To create regression lines (standard deviation chann

I got the solution , if someone have requirement as my question here is demo code: import java.awt.Color; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Paint; import java.util.Random; import javax.swing.JFrame; import org.jfree.chart.ChartFactory; import org.jfree.chart.Char...
by sonali
Wed Sep 06, 2017 10:47 am
Forum: JFreeChart
Topic: Different color for item label with fallback position
Replies: 1
Views: 3607

Re: Different color for item label with fallback position

may be this demo will help you: import java.awt.Color; import java.text.DecimalFormat; import java.text.NumberFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jf...
by sonali
Wed Sep 06, 2017 5:16 am
Forum: JFreeChart
Topic: How To create regression lines (standard deviation channel)
Replies: 8
Views: 9640

Re: How To create regression lines (standard deviation chann

1. Group your data into segments, one segment per regression line. .. 5. Add the XYLineAnnotation to the plot. Note that this solution won't be dynamic,and will not automatically react to changes in the HighLowDataset. i had created a functionality of edit chart (user can drag and drop mouse and dr...
by sonali
Mon Sep 04, 2017 5:10 am
Forum: JFreeChart
Topic: How To create regression lines (standard deviation channel)
Replies: 8
Views: 9640

Re: How To create regression lines (standard deviation chann

Thanks for the reply but sorry to say that according to this example when i will add more regression line data in trend then it will display jointed regression lines like line chart! i want to do same like image - a segmented regression lines.
by sonali
Sat Sep 02, 2017 6:41 am
Forum: JFreeChart
Topic: How To create regression lines (standard deviation channel)
Replies: 8
Views: 9640

How To create regression lines (standard deviation channel)

https://static1.squarespace.com/static/518595d9e4b09995885dc274/t/55861484e4b0c7da490f2df9/1434850441971/Linear-Regression-Channels.jpg I am using jfreechart in my application from one month but i can not found how to draw linear regression channels on any time series jfreechart. we can draw xyline...