Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Bar / Column Chart Axis Labels Misaligned
Migrateduser
<p>Greetings BIRTers!</p>
<p> </p>
<p>I'm seeing what appears to be a bug of label alignment in bar charts. In a horizontally spanning bar chart, the category labels along the vertical axis are non-uniformly right aligning (png example attached)</p>
<p> </p>
<p> </p>
<p>What I know for sure:</p>
<p> </p>
<p>- changing font family doesn't fix the issue and causes the mis-alignement to change slightly</p>
<p>- setting the chart to PNG instead of SVG actually fixes the alignment issue - but quality of text is reduced drastically and is unacceptable for our reports</p>
<p>- left aligning the labels aligns them correctly (but right align looks better and is the current requirement)</p>
<p>- setting all labels to a common value (ie 'abc') aligns them correctly relative to eachother</p>
<p> </p>
<p>Looking at the SVG markup, it seems that the X and Y coordinates are calculated / set explicitly for each label. The X value seems to be off ever so slightly. So the issue seems to be happening when creating the SVG.</p>
<p> </p>
<p>Is this a known bug? Or am I doing something wrong?</p>
<p> </p>
<p>Thanks in advance!</p>
Find more posts tagged with
Comments
There are no comments yet