Sign in to follow this  
Sanjukta

label on the right for Bulb..

Recommended Posts

Hi,

1. How can I put the label position on the right of the Bulb?

2. Can I write custom tooltips like if the range 0-1 tooltip='Low' and range 1-2 tooltip='High'

Thx.

Edited by Guest

Share this post


Link to post
Share on other sites

 Hey,

Pelase find my response to your queries as below.

Q: How can I put the label position on the right of the Bulb?

A: You may use the 'Annotations' for this. See: http://www.fusioncharts.com/widgets/docs/ > Annotations

Ref.- http://www.fusioncharts.com/widgets/docs/Contents/Ann_Text.html

Q: Can I write custom tooltips like if the range 0-1 tooltip='Low' and range 1-2 tooltip='High'

A: I'm afraid the Bulb Gauge does not support this, as of now.

Hope this helps. :(

Share this post


Link to post
Share on other sites

Hi,

What I meant here, the label of the value as I replaced the value with the label='Low' and activate useColorNameAsValue='1' but I want to put the label on the right of the bulb (bottm as default position)?

Thx.

Share this post


Link to post
Share on other sites

Hi,

Could you please check with the attached screenshot of the rendered guage and the XML file for your reference?

Hope this resolves your issue. :(

post-8143-128441584251_thumb.jpg

Bulb1.xml

Edited by Guest

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi Bagus,

Could you please send us a screen-shot of your requirement?

Awaiting your reply.

Share this post


Link to post
Share on other sites

Hi,

 

I attached the bulb image. As you see, i want the label inside which change base on the value to put on the right of the bulb (not just a static label).

 

Thanks for the help.

 

 

 

 

 

Regards,

 

 

 

 

 

Bagus Sutan

post-5470-128441584321_thumb.jpg

Share this post


Link to post
Share on other sites

Hi,

 

 

 

Could you please check the samples.

 

 

 

1. The label is centered inside the bulb.

 

2. There are 2 HTML buttons below, one sets the value of the bulb to 0 (off) and another to 1 (on). (using setData)

 

3. On load the bulb is set to 1(on).

 

 

 

Please click on the buttons to check the label gets changed as per the value set.

Bulb_centered_label_with_label_as _per_value.zip

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