Seam PDF - Aligning "p:data" keys to the left

Viewed 161

I have the following code to generate a pdf from data:

<p:barchart is3D="true" legend="false" orientation="horizontal" width="520">    
    <p:series key="Gráfico">
        <ui:repeat var="ocr" value="#{myBean.value}" >
            <p:data key="#{ocr[0]}" value="#{ocr[1]}" />
        </ui:repeat>
    </p:series>
</p:barchart>

The problem is that the key from p:data gets aligned to the right (for some odd reason). I tried placing the code between divs with text-align, but it didn't worked.

I want the alignment to be on the left.

If someone has an answer, or at least an idea for me to try, I'd really appreciate.

Thanks in advance.

1 Answers
Related