Jump to content
  • Multi axis chart with two barchart overlapping problem


    anuja
    Assigned User teodord
    CategoryBug report
    PriorityHigh
    ReproducibilityAlways
    ResolutionFixed
    SeverityMajor
    StatusResolved
    Multi axis charts with two barcharts often shows bars overlapping each other. Because of this there is every chance that one bar will hide another.


    User Feedback

    Recommended Comments

    I'm also facing the same problem.

    Attached are the pdf with charts and the jrxml.

     

    1st chart is basic bar chart. On value of type 'grain'.

    2nd chart is basic bar chart. On value of type 'morts'.

    3rd is a multiaxis with 2 bar charts using same values as for the first two.

     

    On the multiaxis we see that we are missing blue bars when there is also a red bar for the same day.

     

    I'm using iReport 5.0.0 on OS X.

     

     

     

    Link to comment
    Share on other sites

    Hi,

     

    OK, I see the problem. But what do you think would be a proper way to fix this?

    How would you like the bars to be rendered in order to avoid this problem?

     

    Thanks,

    Teodor

     

    Link to comment
    Share on other sites

    Changed Priority from Normal to High

    Changed Severity from Minor to Major


    Hi,I am also facing same issue. Can we have 2 bars with different colours on the multi-axis report so as to clearly distinguish/identify values from both the bars, like we have for bar chart report?Thanks,Arpit Sand
    Link to comment
    Share on other sites

    Hi,

     

    I have added support for alpha transparency in colors specified in JRXML. You could specify a transparent color for the series that appear in the chart and thus you'll be able to see when the items overlap. This feature will be part of the next JR release in a couple of weeks. Until then, you could try build the library from sources found on public SVN repository, or you could download the latest snapshot from here:

    http://mvnrepo.jaspersoft.com:8081/artifactory/repo/net/sf/jasperreports/jasperreports/5.2.1-SNAPSHOT/

     

    A transparent color can be specified using something like this in JRXML:

     

     

    The above represents a 33% transparent red used for a series color.

     

    I hope this helps.

    Teodor

     

     

    Link to comment
    Share on other sites


×
×
  • Create New...