Sign in to follow this  
samkwitty

showLables on the set statement don't work

Recommended Posts

Labels don't show up when setting showLabel='1'

 

 

 

I have tested this with barer2d. Doing the following does not show labels on the graph:

 

 

 

 

 

< dataset>

 

< set value='1' label='abc' showLabel='1'/>

 

< /dataset>

 

 

 

This also does not work:

 

 

 

< dataset showLabels='1' >

 

< set value='1' label='abc' showLabel='1'/>

 

< /dataset>

 

 

 

-Sam

Edited by Guest

Share this post


Link to post
Share on other sites

Hi,

Could you please let us know which chart SWF you are using?

If you are using Bar2D.swf (single-series) then the permitted attributes for hiding and showing labels are :(showLabels and showLabel)

<chart showLabels='1'..>

<set label='foo' showLabel='0'/>

...

</chart>

 

In this XML structure there should be no <Dataset>

In case you are using MSBar2D.swf : (multi-series)

<chart showLabels='1'..>

<categories>

   <category label='foo' showLabel='0'/>

...

</chart>

 

Labels are set through <category> elemements. Hence, must be given in <category> element. <dataset> or <set> inside <dataset> would ignore these attributes since these have nothing to do with labels in Multi-series XML/Chart model.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this