<?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/chart2d/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/chart2d/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 11 Jul 2014 12:15:39 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/chart2d/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#17 Number axis labels disappearing</title><link>https://sourceforge.net/p/chart2d/bugs/17/?limit=25#91e4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have encountered the same problem placing the Chart inside a JPanel ruled with MigLayout. I have solved putting the Graph inside a sub-Jpanel with no layout manager &lt;/p&gt;
&lt;h1 id="mypnl-new-jpanelnull"&gt;MyPnl = new JPanel(null);&lt;/h1&gt;
&lt;h1 id="mypnladdmylbchart2d"&gt;MyPnl.add(MyLBChart2D);&lt;/h1&gt;
&lt;p&gt;and then setting directly bounds of chart &lt;/p&gt;
&lt;h1 id="mylbchart2dsetboundsx-y-w-h"&gt;MyLBChart2D.setBounds(x, y, w, h);&lt;/h1&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Giovanni</dc:creator><pubDate>Fri, 11 Jul 2014 12:15:39 -0000</pubDate><guid>https://sourceforge.neta44add7dd67fd787d362a13c512615960747026c</guid></item><item><title>bars dissapear when enabling axis labels</title><link>https://sourceforge.net/p/chart2d/bugs/20/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;LBChart2D lbChart2D = new LBChart2D();&lt;br /&gt;
Object2DProperties object2DProps = new Object2DProperties();&lt;br /&gt;
object2DProps.setObjectTitleText ("Total Present Value");&lt;br /&gt;
Chart2DProperties chart2DProps = new Chart2DProperties();&lt;br /&gt;
LegendProperties legendProps = new LegendProperties();&lt;br /&gt;
legendProps.setLegendExistence (true);&lt;/p&gt;
&lt;p&gt;GraphChart2DProperties graph2DProps = new GraphChart2DProperties();&lt;br /&gt;
GraphProperties graphProps = new GraphProperties();&lt;br /&gt;
Dataset dataset = new Dataset (table3m.getRowCount(), 1, 1);&lt;br /&gt;
String[] labels=new String[table3m.getRowCount()];&lt;br /&gt;
for(int fill=0;fill&amp;lt;table3m.getRowCount();fill++)&lt;br /&gt;
{&lt;br /&gt;
dataset.set (fill, 0, 0, Integer.valueOf(table3m.getValueAt(fill, 3).toString()));&lt;br /&gt;
labels[fill]= String.valueOf(table3m.getValueAt(fill, 1));&lt;br /&gt;
}&lt;br /&gt;
lbChart2D.addDataset(dataset);&lt;br /&gt;
graph2DProps.setLabelsAxisExistence(false);&lt;br /&gt;
graph2DProps.setLabelsAxisLabelsTexts(labels);&lt;br /&gt;
legendProps.setLegendLabelsTexts(labels);&lt;br /&gt;
Dimension sizes=new Dimension(1046,588);&lt;br /&gt;
lbChart2D.setObject2DProperties (object2DProps);&lt;br /&gt;
lbChart2D.setChart2DProperties (chart2DProps);&lt;br /&gt;
lbChart2D.setLegendProperties(legendProps);&lt;br /&gt;
lbChart2D.setPreferredSize(sizes);&lt;br /&gt;
graph2DProps.setNumbersAxisTitleText("Present Dollars");&lt;br /&gt;
lbChart2D.setGraphChart2DProperties (graph2DProps);&lt;/p&gt;
&lt;p&gt;lbChart2D.addGraphProperties (graphProps);&lt;br /&gt;
MultiColorsProperties multiColorsProps = new MultiColorsProperties();&lt;br /&gt;
lbChart2D.addMultiColorsProperties (multiColorsProps);&lt;br /&gt;
lbChart2D.pack();&lt;br /&gt;
lbChart2D.getImage();&lt;br /&gt;
jPanel4.add(lbChart2D);&lt;/p&gt;
&lt;p&gt;when I enable the graph2DProps.setLabelsAxisExistence the labels appear at the bottom of the graph but there are no bars!...&lt;br /&gt;
when i disable graph2DProps.setLabelsAxisExistence the bars display correctly but i have no labels&lt;br /&gt;
i need both the labels and the bars to display correctly at the same time, but its not working.&lt;br /&gt;
thanks in advance&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">luis </dc:creator><pubDate>Thu, 15 Oct 2009 23:59:57 -0000</pubDate><guid>https://sourceforge.netbb52dd013ff923f8aabad7563c470ffa1a867713</guid></item><item><title>bug getPrecisionCeil in ChartArea class</title><link>https://sourceforge.net/p/chart2d/bugs/19/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I believe find a bug in getPrecisionCeil from ChartArea&lt;br /&gt;
class. If value is inferior to 1 then the method return&lt;br /&gt;
value*10.&lt;/p&gt;
&lt;p&gt;For example : value = 0.044, precision = -4 return 0.44&lt;/p&gt;
&lt;p&gt;Is it a bug ?&lt;/p&gt;
&lt;p&gt;Thanks to answer my question.&lt;/p&gt;
&lt;p&gt;Regards.&lt;br /&gt;
Sebastien Nicaisse.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">seb</dc:creator><pubDate>Tue, 17 Oct 2006 09:43:36 -0000</pubDate><guid>https://sourceforge.net481ac54d44292bd162453e2adbbd61828dcbbedd</guid></item><item><title>Datapoints at wrong positions</title><link>https://sourceforge.net/p/chart2d/bugs/18/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I use your Chart2D-Package for a work at my university.&lt;br /&gt;
It's really good, small and easy to understand, so I&lt;br /&gt;
like it very much.&lt;/p&gt;
&lt;p&gt;But today I found a problem...&lt;br /&gt;
I'm trying to draw a LBChart with 1 to 18 lines.&lt;br /&gt;
By clicking ComboBoxes the user can add or remove the&lt;br /&gt;
lines from the chart. Works fine, so far...&lt;/p&gt;
&lt;p&gt;With 1 line, no problem, everythings ok.&lt;br /&gt;
But with 2 lines the problems begin.&lt;br /&gt;
The Points of the line start moving to incorrect positions.&lt;br /&gt;
For example:&lt;br /&gt;
All lines should start at LabelsAxisLabel "1" and end&lt;br /&gt;
at "2". (added correctly to the Dataset)&lt;br /&gt;
Line 1 is correct. But line 2, which also should start&lt;br /&gt;
at LabelsAxisLabel "1", starts at "0.9" an ends at "1.9".&lt;br /&gt;
Everytime I add a line, the gap grows.&lt;br /&gt;
You can imagine how it looks with 18 lines...&lt;/p&gt;
&lt;p&gt;The behavior is not always the same. It depends on the&lt;br /&gt;
size of the complete Chart. So for example in&lt;br /&gt;
Window-Mode (800*600) of my program it's ok. But if you&lt;br /&gt;
go to Fullscreen and the Chart resizes itself, the&lt;br /&gt;
line-starts and -ends are wrong again.&lt;/p&gt;
&lt;p&gt;Hope you understood what I mean... I added a JPG to&lt;br /&gt;
visualize, what I wrote.&lt;/p&gt;
&lt;p&gt;So, you got an idea to solve the problem? Or a way to&lt;br /&gt;
work around it?&lt;/p&gt;
&lt;p&gt;Thx in advance!&lt;br /&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frosty</dc:creator><pubDate>Wed, 14 Jun 2006 14:01:01 -0000</pubDate><guid>https://sourceforge.net107323c6951d292c591b687205e7fd66ea40f193</guid></item><item><title>Number axis labels disappearing</title><link>https://sourceforge.net/p/chart2d/bugs/17/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I wanted to use Chart2D for a project as it looks &lt;br /&gt;
really good but I ran into a showstopper problem: &lt;br /&gt;
The number axis labels are randomly disappearing (see &lt;br /&gt;
screenshot). It seems to depend on the data values &lt;br /&gt;
and the chart size. Sometimes the labels are &lt;br /&gt;
disappearing when I enlarge the chart, sometimes when &lt;br /&gt;
I downsize it. &lt;br /&gt;
Is there a way to enforce painting the number axis &lt;br /&gt;
labels? I would really need it. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ronny Standtke</dc:creator><pubDate>Sat, 03 Dec 2005 10:36:13 -0000</pubDate><guid>https://sourceforge.netb6e41d798800895398ff5cdbfee56c3328ee4300</guid></item><item><title>Labels get framed in Firefox, Mac OX</title><link>https://sourceforge.net/p/chart2d/bugs/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In Firefox on Mac OX all labels / titles are framed.&lt;br /&gt;
I've seen this in the demo applet.&lt;br /&gt;
Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ANOVA</dc:creator><pubDate>Wed, 24 Aug 2005 04:24:48 -0000</pubDate><guid>https://sourceforge.net822736bcfe1a51177e366d361eeff54a236eb6fc</guid></item><item><title>Line charts auto axis sizing incorrect for small values</title><link>https://sourceforge.net/p/chart2d/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have an LBChart2D that is drawing lines with values &lt;br /&gt;
ranging from 0.00 to 0.05.  The lines draw correctly, but &lt;br /&gt;
the Y axis is showing numbers from 0.0 to 0.5, instead of &lt;br /&gt;
0.05.&lt;/p&gt;
&lt;p&gt;Even if you set the custom greatest value and turn it &lt;br /&gt;
on, it still shows up as 0.5 instead of 0.05.&lt;/p&gt;
&lt;p&gt;Here is the code:&lt;/p&gt;
&lt;p&gt;private Chart2D buildThicknessChart()&lt;br /&gt;
{&lt;br /&gt;
//Configure object properties&lt;br /&gt;
Object2DProperties object2DProps = new &lt;br /&gt;
Object2DProperties();&lt;br /&gt;
object2DProps.setObjectTitleText ("Layers &lt;br /&gt;
Thickness");&lt;/p&gt;
&lt;p&gt;//Configure chart properties&lt;br /&gt;
Chart2DProperties chart2DProps = new &lt;br /&gt;
Chart2DProperties();&lt;br /&gt;
chart2DProps.setChartDataLabelsPrecision(-4);&lt;/p&gt;
&lt;p&gt;//Configure legend properties&lt;br /&gt;
LegendProperties legendProps = new &lt;br /&gt;
LegendProperties();&lt;br /&gt;
String[] legendLabels = {"Value"};&lt;br /&gt;
legendProps.setLegendLabelsTexts (legendLabels);&lt;br /&gt;
legendProps.setLegendExistence(false);&lt;/p&gt;
&lt;p&gt;//Configure graph chart properties&lt;br /&gt;
GraphChart2DProperties graphChart2DProps = new &lt;br /&gt;
GraphChart2DProperties();&lt;br /&gt;
graphChart2DProps.setLabelsAxisLabelsTexts &lt;br /&gt;
(labelsAxisLabels);&lt;br /&gt;
//     graphChart2DProps.setLabelsAxisTitleText ("Data");&lt;br /&gt;
graphChart2DProps.setNumbersAxisTitleText &lt;br /&gt;
("Millimeters");&lt;/p&gt;
&lt;p&gt;graphChart2DProps.setChartDatasetCustomizeGreatestVal&lt;br /&gt;
ue (true);&lt;/p&gt;
&lt;p&gt;graphChart2DProps.setChartDatasetCustomGreatestValue&lt;br /&gt;
(0.050f);&lt;br /&gt;
graphChart2DProps.setLabelsAxisTicksAlignment &lt;br /&gt;
(graphChart2DProps.CENTERED);&lt;/p&gt;
&lt;p&gt;//Configure graph properties&lt;br /&gt;
GraphProperties graphProps = new GraphProperties();&lt;br /&gt;
graphProps.setGraphBarsExistence (false);&lt;br /&gt;
graphProps.setGraphLinesExistence (true);&lt;br /&gt;
graphProps.setGraphAllowComponentAlignment (true);&lt;/p&gt;
&lt;p&gt;//Configure dataset&lt;br /&gt;
thicknessDataset.set (0, 0, 0, 0.02f);&lt;br /&gt;
thicknessDataset.set (0, 1, 0, 0.03f);&lt;br /&gt;
thicknessDataset.set (0, 2, 0, 0.025f);&lt;br /&gt;
thicknessDataset.set (0, 3, 0, 0.03f);&lt;br /&gt;
thicknessDataset.set (0, 4, 0, 0.02f);&lt;br /&gt;
thicknessDataset.set (0, 5, 0, 0.03f);&lt;br /&gt;
thicknessDataset.set (0, 6, 0, 0.02f);&lt;br /&gt;
thicknessDataset.set (0, 7, 0, 0.01f);&lt;br /&gt;
thicknessDataset.set (0, 8, 0, 0.02f);&lt;br /&gt;
thicknessDataset.set (0, 9, 0, 0.04f);&lt;br /&gt;
thicknessDataset.set (0,10, 0, 0.02f);&lt;br /&gt;
thicknessDataset.set (0,11, 0, 0.035f);&lt;br /&gt;
thicknessDataset.set (0,12, 0, 0.03f);&lt;br /&gt;
thicknessDataset.set (0,13, 0, 0.025f);&lt;br /&gt;
thicknessDataset.set (0,14, 0, 0.02f);&lt;br /&gt;
thicknessDataset.set (0,15, 0, 0.03f);&lt;br /&gt;
thicknessDataset.set (0,16, 0, 0.01f);&lt;/p&gt;
&lt;p&gt;//Configure graph component colors&lt;br /&gt;
MultiColorsProperties multiColorsProps = new &lt;br /&gt;
MultiColorsProperties();&lt;/p&gt;
&lt;p&gt;//Configure warning regions for graph&lt;br /&gt;
WarningRegionProperties warningRegionProps1 = new &lt;br /&gt;
WarningRegionProperties();&lt;br /&gt;
warningRegionProps1.setHigh (0.025f);&lt;br /&gt;
warningRegionProps1.setLow &lt;br /&gt;
(WarningRegionProperties.LOW);&lt;/p&gt;
&lt;p&gt;//Configure warning regions for graph&lt;br /&gt;
WarningRegionProperties warningRegionProps2 = new &lt;br /&gt;
WarningRegionProperties();&lt;br /&gt;
warningRegionProps2.setHigh (0.025f);&lt;br /&gt;
warningRegionProps2.setLow (0.024f);&lt;br /&gt;
warningRegionProps2.setComponentColor (new Color &lt;br /&gt;
(146, 105, 0));&lt;br /&gt;
warningRegionProps2.setBackgroundColor (new Color &lt;br /&gt;
(222, 209, 176));&lt;/p&gt;
&lt;p&gt;//Configure chart&lt;br /&gt;
LBChart2D chart2D = new LBChart2D();&lt;br /&gt;
chart2D.setObject2DProperties (object2DProps);&lt;br /&gt;
chart2D.setChart2DProperties (chart2DProps);&lt;br /&gt;
chart2D.setLegendProperties (legendProps);&lt;br /&gt;
chart2D.setGraphChart2DProperties &lt;br /&gt;
(graphChart2DProps);&lt;br /&gt;
chart2D.addGraphProperties (graphProps);&lt;br /&gt;
chart2D.addDataset (thicknessDataset);&lt;br /&gt;
chart2D.addMultiColorsProperties (multiColorsProps);&lt;br /&gt;
chart2D.addWarningRegionProperties &lt;br /&gt;
(warningRegionProps1);&lt;br /&gt;
chart2D.addWarningRegionProperties &lt;br /&gt;
(warningRegionProps2);&lt;/p&gt;
&lt;p&gt;//Optional validation:  Prints debug messages if &lt;br /&gt;
invalid only.&lt;br /&gt;
if (!chart2D.validate (false))&lt;br /&gt;
{&lt;br /&gt;
chart2D.validate(true);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;//&amp;lt;-- End Chart2D configuration --&amp;gt;&lt;/p&gt;
&lt;p&gt;return chart2D;&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Darrin Smith</dc:creator><pubDate>Wed, 20 Oct 2004 14:46:58 -0000</pubDate><guid>https://sourceforge.net5fd7999e7cf2118d084c8bb96aeee0179c623f82</guid></item><item><title>setLayoutRatios doesn't have much effect</title><link>https://sourceforge.net/p/chart2d/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I'm having a problem with legend text wrapping, as in&lt;br /&gt;
the attached PNG image. As you can see my label axis&lt;br /&gt;
text is quite long.&lt;/p&gt;
&lt;p&gt;Now I've tried increasing the proportion of horizontal&lt;br /&gt;
space allocated to the legend with setLayoutRatios, but&lt;br /&gt;
it doesn't seem to do very much. I gather from the&lt;br /&gt;
documentation that it is up to me to make sure that the&lt;br /&gt;
sum of the graph and legend width components adds to&lt;br /&gt;
far enough less than 1 to allow space for the legend,&lt;br /&gt;
but even within that constraint, no matter what I do&lt;br /&gt;
it's still quite keen to wrap the legend.&lt;/p&gt;
&lt;p&gt;I'm not calling setSize on the chart, so it could just&lt;br /&gt;
make the chart large enough to accomodate the legend,&lt;br /&gt;
surely?&lt;/p&gt;
&lt;p&gt;Ideally I'd like my legend labels to word-wrap since&lt;br /&gt;
they are long and the legend to not not wrap individual&lt;br /&gt;
characters since there's no need and it's ugly, and&lt;br /&gt;
also to avoid any wrapping of the numbers axis labels&lt;br /&gt;
(which sometimes happens too) :-)&lt;/p&gt;
&lt;p&gt;Any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;ABS&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alaric Snell</dc:creator><pubDate>Tue, 18 Mar 2003 18:10:49 -0000</pubDate><guid>https://sourceforge.net63aef801759383f0618afb8dc3adf348059b5f9f</guid></item><item><title>Pie Chart labeling problem</title><link>https://sourceforge.net/p/chart2d/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the PieChart2DFrameDemo class i replaced the &lt;br /&gt;
dataset with the following:&lt;/p&gt;
&lt;p&gt;dataset.set (0, 0, 0, 4f);&lt;br /&gt;
dataset.set (1, 0, 0, 2f);&lt;br /&gt;
dataset.set (2, 0, 0, 0f);&lt;br /&gt;
dataset.set (3, 0, 0, 0f);&lt;br /&gt;
dataset.set (4, 0, 0, 0f);&lt;br /&gt;
dataset.set (5, 0, 0, 0f);&lt;/p&gt;
&lt;p&gt;The pie chart that was generated is attached.&lt;br /&gt;
Is there any way to get the labels and lines more &lt;br /&gt;
organized.  Maybe disable the labels for the sectors &lt;br /&gt;
that are zero or get the lines organized a bit better &lt;br /&gt;
because users find it very confusing when they see &lt;br /&gt;
intersecting labels lines.&lt;/p&gt;
&lt;p&gt;Serge&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nitin Singhal</dc:creator><pubDate>Wed, 21 Aug 2002 16:42:51 -0000</pubDate><guid>https://sourceforge.netab53f40b5a74b327e284a56e09cbc45c8e235af3</guid></item><item><title>Bar graph labeling/scaling problem</title><link>https://sourceforge.net/p/chart2d/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In the LLChart2DFrameDemo of the Chart2D 1.9.6e and &lt;br /&gt;
the method:&lt;br /&gt;
private Chart2D getChart2DDemoD()  which &lt;br /&gt;
corresponds to Bar with Cat Coloring&lt;/p&gt;
&lt;p&gt;I set the dataset to the following data bellow.&lt;/p&gt;
&lt;p&gt;dataset.set (0, 0, 0, 0f);&lt;br /&gt;
dataset.set (0, 1, 0, 0f);&lt;br /&gt;
dataset.set (0, 2, 0, 2f);&lt;br /&gt;
dataset.set (0, 3, 0, 4f);&lt;br /&gt;
dataset.set (0, 4, 0, 1f);&lt;br /&gt;
dataset.set (0, 5, 0, 0f);&lt;br /&gt;
dataset.set (0, 6, 0, 0f);&lt;br /&gt;
dataset.set (0, 7, 0, 0f);&lt;br /&gt;
dataset.set (0, 8, 0, 0f);&lt;/p&gt;
&lt;p&gt;The attached screenshot of the bar graph shows the &lt;br /&gt;
problem of labels having &amp;amp;quot;^&amp;amp;quot; instead of numbers and &lt;br /&gt;
scale being off.  For the entry (0,4,0,1f) the purple bar &lt;br /&gt;
goes beyong the label of 1.&lt;/p&gt;
&lt;p&gt;Serge&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nitin Singhal</dc:creator><pubDate>Wed, 21 Aug 2002 16:14:11 -0000</pubDate><guid>https://sourceforge.netad023c96224a228d0079c9fe7e2276ce5e5e3180</guid></item></channel></rss>