Search found 5 matches

by Merihim
Thu Dec 01, 2016 11:42 am
Forum: JFreeChart
Topic: JfreeChart Renderer draw wrong lines.
Replies: 3
Views: 3787

Re: JfreeChart Renderer draw wrong lines.

Thank you both for the quick response. The renderer on the screenshot is a XYItemRenderer (SamplingXYLineRenderer) First i have implemented the XYStepRenderer as suggested. It looks like this is a solution for my problem. But i will try the second solution to overwrite the constructor of the XYSerie...
by Merihim
Wed Nov 30, 2016 12:49 pm
Forum: JFreeChart
Topic: JfreeChart Renderer draw wrong lines.
Replies: 3
Views: 3787

JfreeChart Renderer draw wrong lines.

Hello, i have a problem with the renderer of Jfreechart. Here are 2 Screenshots: http://www.bilder-upload.eu/thumb/ecb814-1480505781.png The top chart is a old software with other technologies, but we know that this graph is right. In the second chart we can see the lines are not connected to the da...
by Merihim
Wed Apr 27, 2016 3:15 pm
Forum: JFreeChart
Topic: Refresh Date Axis DataTicks
Replies: 0
Views: 4003

Refresh Date Axis DataTicks

I have a problem to update the DateTicks of the DateAxis correctly. I update my chart every second with timeSeries.addOrUpdate(TimePeriod, Value) https://imageshack.com/i/plQZEeTxp . The chart should act like an oscilloscope. The last label in my picture is 14:08:00. Now I have 2 problems. Problem 1...
by Merihim
Wed Mar 09, 2016 11:17 am
Forum: JFreeChart
Topic: Get dynamically the width of the range axis
Replies: 2
Views: 3222

Re: Get dynamically the width of the range axis

ah ok, thank you very much, i get it :D But, for example i get the width of the data area of a chart, how can i set this width manually ? i get the width that i want on this way: chartPanel.getChartRenderingInfo().getPlotInfo().getDataArea().getWidth(); But how can i manipulate this width ? When i s...
by Merihim
Tue Mar 08, 2016 6:26 pm
Forum: JFreeChart
Topic: Get dynamically the width of the range axis
Replies: 2
Views: 3222

Get dynamically the width of the range axis

Hi, for layout reasons, i need to know when the width of the range axis changes. For example, when the range of the range axis goes from 1000 - 10000 the domain axis is more "squeezed" than with a range from 1 - 10. ........................................ ........................i need this width ....