User (Legacy) Posted November 4, 2005 Author Report Share Posted November 4, 2005 Hi! I'm having problems displaying the bar in a barchart when there is only one Series and the value is negative. The problem only happens for barcharts. Any other thart will display the series... Can anyone help me? Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 4, 2005 Report Share Posted November 4, 2005 Hi! I'm having problems displaying the bar in a barchart when there is only one Series and the value is negative. The problem only happens for barcharts. Any other thart will display the series... Can anyone help me? Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 4, 2005 Author Report Share Posted November 4, 2005 Correction.... It happens to lines, curves and area as well. Pie chart works perfectly though, but the handle negative and positive data the same... The Y-Axis is also missing, but if I turn on pointlabels the pointlabel will show the negative value within the chart pane... "Helge Olsen" <Helge.Olsen@Agresso.no> wrote in message news:7co%23WbU4FHA.1708@webserver3.softwarefx.com... > Hi! > > I'm having problems displaying the bar in a barchart when there is only > one Series and the value is negative. > The problem only happens for barcharts. Any other thart will display the > series... > > Can anyone help me? > Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 4, 2005 Author Report Share Posted November 4, 2005 Correction.... It happens to lines, curves and area as well. Pie chart works perfectly though, but the handle negative and positive data the same... The Y-Axis is also missing, but if I turn on pointlabels the pointlabel will show the negative value within the chart pane... "Helge Olsen" <Helge.Olsen@Agresso.no> wrote in message news:7co%23WbU4FHA.1708@webserver3.softwarefx.com... > Hi! > > I'm having problems displaying the bar in a barchart when there is only > one Series and the value is negative. > The problem only happens for barcharts. Any other thart will display the > series... > > Can anyone help me? > Link to comment Share on other sites More sharing options...
Software FX Posted November 6, 2005 Report Share Posted November 6, 2005 The problem here is that although there is a default min value (0) there is no default for the Max. So if you have only ONE value and it is negative, both Min and Max will end up being the same (the value) and therefore there is no scale to show. You can detect this case by checking the value of Min and Max after passing data and you can set the Max to Zero (if that is what you want) or to any value that will allow for a scale to be shown. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Software FX Posted November 6, 2005 Report Share Posted November 6, 2005 The problem here is that although there is a default min value (0) there is no default for the Max. So if you have only ONE value and it is negative, both Min and Max will end up being the same (the value) and therefore there is no scale to show. You can detect this case by checking the value of Min and Max after passing data and you can set the Max to Zero (if that is what you want) or to any value that will allow for a scale to be shown. -- Francisco Padron www.chartfx.com Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.