Jump to content


Cut String


  • Please log in to reply
3 replies to this topic

#1 el-tio-ramon

el-tio-ramon

    Junior Member

  • Members
  • PipPip
  • 17 posts

Posted 17 May 2012 - 08:45 AM

Hello, I have a 2d pie chart format and need not to cut the string of data. I attached sample image. Can you format the graphic so do not cut the strings?

Thanks
!

Posted Image



#2 Sumedh

Sumedh

    Supreme Being

  • Administrators
  • 1949 posts
  • LocationBangalore

Posted 17 May 2012 - 10:00 AM

Hello, I have a 2d pie chart format and need not to cut the string of data. I attached sample image. Can you format the graphic so do not cut the strings?

Thanks
!

Posted Image





Hi,


To avoid cutting of data labels, you can use manageLabelOverflow attribute.


This attribute tries to manage overflow of data labels. If enabled, data labels are either wrapped or truncated with ellipses to prevent them from overflowing out of the chart canvas.

Ref. Code:
<chart ... manageLabelOverflow='1'>

For more information, read smart labels and lines section from here: http://docs.fusionch...rtSS/Pie3D.html



Thanks,
Sumedh

Follow us @Twitter!

#3 el-tio-ramon

el-tio-ramon

    Junior Member

  • Members
  • PipPip
  • 17 posts

Posted 17 May 2012 - 02:12 PM

Hi,


To avoid cutting of data labels, you can use manageLabelOverflow attribute.


This attribute tries to manage overflow of data labels. If enabled, data labels are either wrapped or truncated with ellipses to prevent them from overflowing out of the chart canvas.

Ref. Code:
<chart ... manageLabelOverflow='1'>

For more information, read smart labels and lines section from here: http://docs.fusionch...rtSS/Pie3D.html




Hi, I use these code, but the managelabeloverflow not work.

'defino los datos generales del gráfico
.ChartType = pie2d
.Data.setChartParams "caption=NC x Tipo; bgColor=A8D7AB; bgAlpha=00; xAxisName=Tipo ;xAxisValue=300; yAxisName=Cantidad;pieRadius=120; manageLabelOverflow=1"
'Armo el gráfico de fallas
For i = 1 To rst.RecordCount
.Data.addChartData rst("CANTIDAD"), "Label=" & rst("COMPLETO")
rst.MoveNext
Next i

#4 Sumedh

Sumedh

    Supreme Being

  • Administrators
  • 1949 posts
  • LocationBangalore

Posted 18 May 2012 - 05:27 AM

Hi, I use these code, but the managelabeloverflow not work.

'defino los datos generales del gráfico
.ChartType = pie2d
.Data.setChartParams "caption=NC x Tipo; bgColor=A8D7AB; bgAlpha=00; xAxisName=Tipo ;xAxisValue=300; yAxisName=Cantidad;pieRadius=120; manageLabelOverflow=1"
'Armo el gráfico de fallas
For i = 1 To rst.RecordCount
.Data.addChartData rst("CANTIDAD"), "Label=" & rst("COMPLETO")
rst.MoveNext
Next i




Hi,

Sincere apologies for the miscommunication.

manageLabelOverflow attribute is not supported in FusionCharts for VB6.
Thanks,
Sumedh

Follow us @Twitter!