How to set domainaxisrotateticklabel=true in chart in Atlassian Confluence 4.3.1 ?

Elie Kassis March 27, 2013

In my Atlassian Confluence 4.3.1 i'm not able to rotate the tick label similar to the graph shown below.

can you please assist?

thank you.

1 answer

1 accepted

3 votes
Answer accepted
fsim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 3, 2013

Hey Elie,

You need to add this parameter to the macro via Confluence Source Editor (you can install this plugin via Confluence Admin >> Plugins). After installing the plugin, when you edit a page now, you should see a <> button on the top right corner of the editor. Click that, and you should see something like this:

&lt;ac:macro ac:name="chart"&gt;
          &lt;ac:parameter ac:name="yLabel"&gt;Number of Issues&lt;/ac:parameter&gt;
          &lt;ac:parameter ac:name="timePeriod"&gt;Month&lt;/ac:parameter&gt;
          &lt;ac:parameter ac:name="dataOrientation"&gt;vertical&lt;/ac:parameter&gt;
          &lt;ac:parameter ac:name="timeSeries"&gt;true&lt;/ac:parameter&gt;
          &lt;ac:parameter ac:name="dateFormat"&gt;MM/yyyy&lt;/ac:parameter&gt;
          &lt;ac:parameter ac:name="type"&gt;timeSeries&lt;/ac:parameter&gt;

Add the following parameter to the list of parameters:

&lt;ac:parameter ac:name="domainaxisrotateticklabel"&gt;true&lt;/ac:parameter&gt;

And save the page. Problem solved!

Foogie

Elie Kassis April 8, 2013

Hi Foogie,

the workaround work perfectly but please note that we are waiting for a chart plugin upgrade that fixes this bug.
noting that the admin did not accept to keep the Confluence Source Editor enabled.

Thank you for keeping us updated with the fix!

Suggest an answer

Log in or Sign up to answer