<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/jchart2d/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/jchart2d/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 14 Sep 2019 12:54:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jchart2d/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>window close control dead until mouse pointer movement</title><link>https://sourceforge.net/p/jchart2d/bugs/121/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;If a window close control is clicked and subsequently a new window is painted in the same position it should be possible to close the new window without moving the mouse pointer. The bug is that the mouse pointer must be moved some arbitrarily small distance before the close control on the new window will function. Typically this means the mouse pointer will be moved away from the close control and moved back onto the close control. It may be that any mouse movement of any small distance is necessary before the click to close.&lt;/p&gt;
&lt;p&gt;Version: 3.2.2 of JChart 2D on Ubuntu 16.04&lt;br/&gt;
This bug has been observed since some number of years before 2016. In general JChart 2D is a great product.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 14 Sep 2019 12:54:50 -0000</pubDate><guid>https://sourceforge.net9aec75c4891270dd9a6142b1e5340211a29d944b</guid></item><item><title>Some Pointpainters should not draw interpolated points</title><link>https://sourceforge.net/p/jchart2d/bugs/120/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have discovered an issue with pointpainters that occurs when the point to be drawn is interpolated (that is, it lies on either the far left or far right edge of the chart).  Normally you want a line to be interpolated from a visible point to a point off the screen, so the line extends to the edge.  This is the expected behavior for PointPainterLine.  However it is confusing for PointPainterVerticalBar and PointerPainterDisc because it looks as if there is a real data point at the edge of the screen.  Therefore these pointpainters should not draw themselves if the point is interpolated.  My work around so far is to not draw the points if the point lies at the start or stop pixel.  In the paintPoint() method of either PointPainterVerticalBar or PointPainterDisc, I modified the method body as follows:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;if (absoluteX &amp;gt; m_chart.getXChartStart() &amp;amp;&amp;amp; absoluteX &amp;lt; m_chart.getXChartEnd())&lt;/strong&gt; &lt;br/&gt;
        g.fillRect.....&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 19 Sep 2017 14:01:50 -0000</pubDate><guid>https://sourceforge.net95c986f1399fafd8787dbabfa3cf3c644d04ad70</guid></item><item><title>Point highlighted is not the expected point</title><link>https://sourceforge.net/p/jchart2d/bugs/119/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using the followin configuration:&lt;br/&gt;
&lt;code&gt;chart.setToolTipType(Chart2D.ToolTipType.VALUE_SNAP_TO_TRACEPOINTS);&lt;/code&gt;&lt;br/&gt;
and &lt;br/&gt;
&lt;code&gt;trace.setPointHighlighter(new PointPainterDisc(8));&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The nearst point near the mouse has is coordinate displayed properly in the tooltip but the point highlighted is actually the next point in the trace.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SimonD</dc:creator><pubDate>Thu, 02 Jun 2016 15:21:12 -0000</pubDate><guid>https://sourceforge.neta89d07b26548f32a1488a6bb57d4f4fc30f9028f</guid></item><item><title>Logaritmic Label below 1 not displayed</title><link>https://sourceforge.net/p/jchart2d/bugs/118/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to display really small values (uV) on a logaritmic chart.&lt;/p&gt;
&lt;p&gt;With the fix done earlier this year, values below 1 can be displayed but there is no label on the chart.&lt;/p&gt;
&lt;p&gt;We are using the "transformed" axis.&lt;br/&gt;
We are wrapping the chart in the uimenu decorator.&lt;br/&gt;
&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nx"&gt;Chart2D&lt;/span&gt; &lt;span class="nx"&gt;chart&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;Chart2D&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;chart&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;setUseAntialiasing&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;AAxis&lt;/span&gt;&lt;span class="cp"&gt;&amp;lt;?&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;axisy&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;AxisLog10&lt;/span&gt;&lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;AxisScalePolicyTransformation&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;DecimalFormat&lt;/span&gt; &lt;span class="nx"&gt;df&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;DecimalFormat&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nx"&gt;df&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;setMaximumFractionDigits&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;chart&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;setAxisYLeft&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;axisy&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;axisy&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;setFormatter&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;LabelFormatterAutoUnits&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;LabelFormatterNumber&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;df&lt;/span&gt;&lt;span class="p"&gt;)));&lt;/span&gt;
&lt;span class="nx"&gt;ChartPanel&lt;/span&gt; &lt;span class="nx"&gt;chartpanel&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nx"&gt;ChartPanel&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;chart&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="nx"&gt;content&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;add&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;chartpanel&lt;/span&gt; &lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I can multiply the data by 1000000 so that labels are displayed, but no label has a value below 1. (no 0.1, 0.01 , 0.001, etc)&lt;/p&gt;
&lt;p&gt;As a first improovement, I changed AxisScalePolicyTransformation.getScaleValues(...) to start the labels "lower" by changing the line 75 from     "double exp = 0.;" to "    double exp = -10.;" &lt;/p&gt;
&lt;p&gt;It does not seems to change anything with the label above 1 but it does add the label below.&lt;br/&gt;
To see the extra label, at least one point need to be above 1. If all points are lower, no label get generated.&lt;/p&gt;
&lt;p&gt;Before I continue investigating, I was wondering if you could answer the following question:&lt;/p&gt;
&lt;p&gt;Which class is in charge of generating the axis ticks? (AxisScalePolicyManualTicks vs AxisScalePolicyTransformation)&lt;/p&gt;
&lt;p&gt;I can send attachement of the results if needed.&lt;/p&gt;
&lt;p&gt;Thank you verry much!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 13 May 2016 15:35:07 -0000</pubDate><guid>https://sourceforge.net25d4d11771c32e1344fde103248490d2dc9936bd</guid></item><item><title>#117 [rawtypes] found raw type: IAxis</title><link>https://sourceforge.net/p/jchart2d/bugs/117/?limit=25#ce2d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Simon, &lt;/p&gt;
&lt;p&gt;yes that's weak. I should have some time from December 10th on to fix the issue. Unfortunately not sooner. &lt;/p&gt;
&lt;p&gt;thx for reporting. &lt;/p&gt;
&lt;p&gt;cheers, &lt;br/&gt;
Achim&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Achim Westermann</dc:creator><pubDate>Fri, 27 Nov 2015 21:31:03 -0000</pubDate><guid>https://sourceforge.net2e1235586be391b2f336f249ccad84e7b3986a69</guid></item><item><title>#117 [rawtypes] found raw type: IAxis</title><link>https://sourceforge.net/p/jchart2d/bugs/117/?limit=25#d73f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Achim,&lt;/p&gt;
&lt;p&gt;Thanks for your quick reply! With an added type indication &amp;lt; ? &amp;gt; like in &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;IAxis&amp;lt; ? &amp;gt; axisX = staticChart.getAxisX();
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;or like in your source, I then not only get a compilation warning but even the following compilation error:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;error&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;incompatible&lt;/span&gt; &lt;span class="n"&gt;types&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="n"&gt;AxisScalePolicyManualTicks&lt;/span&gt; &lt;span class="n"&gt;cannot&lt;/span&gt; &lt;span class="n"&gt;be&lt;/span&gt; &lt;span class="n"&gt;converted&lt;/span&gt; &lt;span class="n"&gt;to&lt;/span&gt; &lt;span class="n"&gt;CAP&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
    &lt;span class="n"&gt;axisX&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="na"&gt;setAxisScalePolicy&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="kt"&gt;AxisScalePolicyManualTicks&lt;/span&gt;&lt;span class="o"&gt;());&lt;/span&gt;
                             &lt;span class="o"&gt;^&lt;/span&gt;
  &lt;span class="n"&gt;where&lt;/span&gt; &lt;span class="n"&gt;CAP&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="k"&gt;is&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="n"&gt;fresh&lt;/span&gt; &lt;span class="n"&gt;type&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;variable&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;
    &lt;span class="n"&gt;CAP&lt;/span&gt;&lt;span class="err"&gt;#&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt; &lt;span class="kd"&gt;extends&lt;/span&gt; &lt;span class="n"&gt;IAxisScalePolicy&lt;/span&gt; &lt;span class="n"&gt;from&lt;/span&gt; &lt;span class="n"&gt;capture&lt;/span&gt; &lt;span class="n"&gt;of&lt;/span&gt; &lt;span class="o"&gt;?&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Achim Westermann</dc:creator><pubDate>Fri, 27 Nov 2015 09:21:22 -0000</pubDate><guid>https://sourceforge.neta3f83d3be49b3ab157a2c1df2cd75281f72a4171</guid></item><item><title>#117 [rawtypes] found raw type: IAxis</title><link>https://sourceforge.net/p/jchart2d/bugs/117/?limit=25#0537</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Simon, &lt;br/&gt;
the source you refer to is some totally outdated example. Even if jchart2d has been in a long hiatus for now. &lt;/p&gt;
&lt;p&gt;Try stick to the examples within the original source: &lt;a href="http://sourceforge.net/p/jchart2d/code/ci/master/tree/src/info/monitorenter/gui/chart/demos/AdvancedDynamicChart.java"&gt;http://sourceforge.net/p/jchart2d/code/ci/master/tree/src/info/monitorenter/gui/chart/demos/AdvancedDynamicChart.java&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;However I don't know which version of the library you use. &lt;/p&gt;
&lt;p&gt;kind regards, &lt;br/&gt;
Achim&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Achim Westermann</dc:creator><pubDate>Fri, 27 Nov 2015 01:26:13 -0000</pubDate><guid>https://sourceforge.net22347e5cb284a2d89dd64e788a227f1fc346aba8</guid></item><item><title>[rawtypes] found raw type: IAxis</title><link>https://sourceforge.net/p/jchart2d/bugs/117/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great library - thank you for sharing it!&lt;/p&gt;
&lt;p&gt;However, &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt; IAxis axisX = staticChart.getAxisX();
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;at &lt;a href="http://www.coderanch.com/how-to/java/JChart2DDemo" rel="nofollow"&gt;http://www.coderanch.com/how-to/java/JChart2DDemo&lt;/a&gt; generates the following warning:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;warning: [rawtypes] found raw type: IAxis
    IAxis axisX = staticChart.getAxisX();
    ^
missing type arguments for generic class IAxis&amp;lt;T&amp;gt;
    where T is a type-variable:
    T extends IAxisScalePolicy declared in interface IAxis
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Please, what is the correct type declaration?&lt;br/&gt;
(I also tried IAxis&amp;lt;IAxisScalePolicy&amp;gt; without success.)&lt;/p&gt;
&lt;p&gt;Many thanks and best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 26 Nov 2015 15:14:39 -0000</pubDate><guid>https://sourceforge.net5fd67ed720498126b9471a01fa9f2e7af03723c5</guid></item><item><title>#116 Chart's Y label acts weird</title><link>https://sourceforge.net/p/jchart2d/bugs/116/?limit=25#fe4d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Paulius, &lt;/p&gt;
&lt;p&gt;please stick to one bug per ticket. &lt;br /&gt;
I don't currently get what all you are addressing. &lt;/p&gt;
&lt;p&gt;I need 1 bug / 1 problem per ticket. And ideally a JUnit test that isolates to bug to reproduce it (and have a regression test for further releases). Else I would first have to try to isolate that bug, then reproduce it, then fix it and finally to write a regression test to avoid, that in future releases I will break things again. It's about sharing and helping community in OpenSource. &lt;/p&gt;
&lt;p&gt;cheers, &lt;br /&gt;
Achim&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Achim Westermann</dc:creator><pubDate>Mon, 17 Feb 2014 19:58:45 -0000</pubDate><guid>https://sourceforge.net21b0c94875ec8e2efe2da1d0da25742142bb3852</guid></item><item><title>#116 Chart's Y label acts weird</title><link>https://sourceforge.net/p/jchart2d/bugs/116/?limit=25#8ac3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;So it seems this problem is even uglier then you retrace your chart with new data. So I've decided to play with the AxisTitlePainterDefault.class. The rotation seemed to be not working correctly so after a bit of searching and testing I've found a better method to draw a rotated text:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;private&lt;/span&gt; &lt;span class="kt"&gt;void&lt;/span&gt; &lt;span class="nf"&gt;drawString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Graphics&lt;/span&gt; &lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="kt"&gt;double&lt;/span&gt; &lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;

         &lt;span class="n"&gt;Graphics2D&lt;/span&gt; &lt;span class="n"&gt;g2D&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;Graphics2D&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

        &lt;span class="c1"&gt;// Create a rotation transformation for the font.&lt;/span&gt;
        &lt;span class="n"&gt;AffineTransform&lt;/span&gt; &lt;span class="n"&gt;fontAT&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;new&lt;/span&gt; &lt;span class="n"&gt;AffineTransform&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

        &lt;span class="c1"&gt;// get the current font&lt;/span&gt;
        &lt;span class="n"&gt;Font&lt;/span&gt; &lt;span class="n"&gt;theFont&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;g2D&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getFont&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;

        &lt;span class="c1"&gt;// Derive a new font using a rotatation transform&lt;/span&gt;
        &lt;span class="n"&gt;fontAT&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rotate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;270&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;java&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lang&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;PI&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="mi"&gt;180&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
        &lt;span class="n"&gt;Font&lt;/span&gt; &lt;span class="n"&gt;theDerivedFont&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;theFont&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deriveFont&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;fontAT&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

        &lt;span class="c1"&gt;// set the derived font in the Graphics2D context&lt;/span&gt;
        &lt;span class="n"&gt;g2D&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;setFont&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;theDerivedFont&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

        &lt;span class="c1"&gt;// Render a string using the derived font&lt;/span&gt;
        &lt;span class="n"&gt;g2D&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;drawString&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;label&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="n"&gt;x&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="n"&gt;y&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;

        &lt;span class="c1"&gt;// put the original font back&lt;/span&gt;
        &lt;span class="n"&gt;g2D&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;setFont&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;theFont&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I've found it here - &lt;a href="http://greybeardedgeek.net/2009/05/15/rotated-text-in-java-swing-2d/" rel="nofollow"&gt;http://greybeardedgeek.net/2009/05/15/rotated-text-in-java-swing-2d/&lt;/a&gt;&lt;br /&gt;
Now it work correctly - no Y axis label jumping or new labels appearing on the chart. Hope you'll include this method in bug fix release.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paulius</dc:creator><pubDate>Thu, 09 Jan 2014 22:28:18 -0000</pubDate><guid>https://sourceforge.net4fdaf347932c1010aa06e1a83932f94c0b68f637</guid></item></channel></rss>