Jump to content
We've recently updated our Privacy Statement, available here ×

sanathk

Members
  • Posts

    1
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by sanathk

  1. Hi All can one of you guys help me. I have developed few jasper reports and all of them consists of 2 charts.I wanted them to be small in size but their lables are very big. How can I reduce this lable size. Is there any way to reduce the font size of the lables of the chart. (am using a pie chart) Here is my code in jrxml to represent the chart. ************************************************* ************************************************** Code:<pieChart> <chart hyperlinkTarget="Self" > <reportElement x="6" y="33" width="257" height="188" key="element-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> </chart> <pieDataset> <dataset resetType="None" > </dataset> <keyExpression><![CDATA[$F{gender}]]></keyExpression> <valueExpression><![CDATA[$F{killed}]]></valueExpression> <labelExpression><![CDATA[$F{gender}]]></labelExpression> </pieDataset> <piePlot> <plot /> </piePlot> </pieChart> <line direction="TopDown"> <reportElement x="4" y="5" width="522" height="0" key="line-3"/> <graphicElement stretchType="NoStretch"/> </line> <pieChart> <chart hyperlinkTarget="Self" > <reportElement x="273" y="34" width="250" height="187" key="element-2"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> </chart> <pieDataset> <dataset resetType="None" > </dataset> <keyExpression><![CDATA[$F{gender}]]></keyExpression> <valueExpression><![CDATA[$F{wounded}]]></valueExpression> <labelExpression><![CDATA[$F{gender}]]></labelExpression> </pieDataset> <piePlot> <plot /> </piePlot> </pieChart>
×
×
  • Create New...