3 Replies Latest reply: Jul 26, 2012 7:53 AM by Avinash_Varma RSS

    Pie Chart Legend not displaying full names

    Sugumar G-Oracle
      Hi All,

      In a RTF template, we have displayed a PIE chart. In the PIE chart, when the number of legends are more, the legends are getting truncated on the generated PDF report. The document which describes the issue with screen shots is placed at [http://www-apps.us.oracle.com/~sgnanama/Pie%20Chart%20Legends%20Display%20Issue.doc] . And following is the snippet of code placed at ALT text of PIE chart picture present in the template. Is there any way to enlarge the legends display section to show the full text of the legends? Please share your thoughts. Thanks.

      chart:
      <Graph graphType="PIE" depthAngle="50" depthRadius="8" pieDepth="30" pieTilt="20" seriesEffect="SE_NONE">
      <LegendArea borderColor="#cccccc" borderTransparent="false"/>
      <LegendText wordWrapEnabled ="true"/>
      <SeriesItems defaultBorderColor="#cccccc">
      <Series id="0" color="#336699"/>
      <Series id="1" color="#99ccff"/>
      <Series id="2" color="#999933"/>
      <Series id="3" color="#666699"/>
      <Series id="4" color="#cc9933"/>
      <Series id="5" color="#6666"/>
      <Series id="6" color="#3399ff"/>
      </SeriesItems>
      <Title text="" visible="true"/>
      <Footnote text="Company Contribution" visible="true" horizontalAlignment="CENTER"/>
      <O1Title text="Company Contribution" visible="true"/>
      <LocalGridData rowCount="{count(CATEGORY/ERC)}" colCount="1">
      <RowLabels>
      <xsl:for-each select="CATEGORY">
      <xsl:if test="string(ERC)">
      <Label>
      <xsl:value-of select="CATEGORY_NAME"/>
      </Label>
      </xsl:if>
      </xsl:for-each>
      </RowLabels>

      <DataValues>
      <xsl:for-each select="CATEGORY">
      <xsl:if test="string(ERC)">
      <RowData>
      <Cell>
      <xsl:value-of select="ERC"/>
      </Cell>
      </RowData>
      </xsl:if>
      </xsl:for-each>
      </DataValues>
      </LocalGridData>
      </Graph>