Search found 8 matches

by blahfunk
Fri May 18, 2018 9:20 pm
Forum: JFreeChart
Topic: Value markers
Replies: 2
Views: 3837

Re: Value markers

Thank you. That got me in the ballpark of where I needed to be
by blahfunk
Fri May 18, 2018 4:47 pm
Forum: JFreeChart
Topic: help me please ?
Replies: 0
Views: 3657

Re: help me please ?

I wouldn't think it's a bug. Where on a chart does a null value fall?
by blahfunk
Fri May 18, 2018 1:45 pm
Forum: JFreeChart
Topic: Value markers
Replies: 2
Views: 3837

Value markers

Is there a way to have a valuemarker not go across the graph completely? Like it stops at some X value? I need it to look something like this:

Image
by blahfunk
Tue Feb 27, 2018 8:10 pm
Forum: JFreeChart
Topic: Limit date range of XYPlot x-axis
Replies: 3
Views: 4976

Re: Limit date range of XYPlot x-axis

You want to use a TimeSeries chart. The ticks then are relative to your view. I had a chart that was having the same issues are yours as my dataset is massive for the project I was creating (hourly data intervals). Use the chartfactory of a timeseries and use a dataset of a TimeSeriesCollection (des...
by blahfunk
Wed Feb 21, 2018 5:51 pm
Forum: JFreeChart
Topic: Line Annotation does not draw
Replies: 1
Views: 3971

Line Annotation does not draw

I have created an XYLineAnnotation object to draw a line into my graph, but it doesn't draw? I am using a ChartMouseListener so that it will follow the mouse pointer like so: someChartPanel.addChartMouseListener(new ChartMouseListener() { private int lineLoc = 0; private XYLineAnnotation line = null...
by blahfunk
Mon Feb 12, 2018 10:03 pm
Forum: JFreeChart
Topic: Two shapes plotted on points of a linegraph
Replies: 2
Views: 4715

Re: Two shapes plotted on points of a linegraph

I resolved this using annotations. I found the high and low and then used the pointers from annotations to mark what I needed:
Image
by blahfunk
Mon Jan 22, 2018 8:54 pm
Forum: JFreeChart
Topic: Two shapes plotted on points of a linegraph
Replies: 2
Views: 4715

Two shapes plotted on points of a linegraph

I am wanting to place a single shape at the point where my linegraph is at its max and (eventually) one where it is at its minimum. In my life graph I have an unknown number of linegraphs at the bottom on the graph representing readings from meters from one datetime to the next and then the totals o...
by blahfunk
Wed Jan 17, 2018 6:08 pm
Forum: JFreeChart
Topic: Simple Read of Chart Values
Replies: 1
Views: 3267

Simple Read of Chart Values

I am hoping there is a better way to get tooltip values of data in a linegraph. To hover over a point can be difficult if there aren't a ton of points. I have another program we use in the office that just draws a line where your mouse pointer is and shows the tooltips for all graph lines that inter...