Sign in to follow this  
vinoo

Links Support In Gauges

Recommended Posts

Is it possible to support links in Gauges, like in other Fusion Charts types,

 

eg:

set label="Password Reset Request" value="1" isSliced="0" link="JavaScript:myJS('Password Reset Request,1');" />

 

I'm trying to implement a Drill-down functionality from a Gauge in our application. And I was not able to find a way.

 

Appreciate any help.

 

Thanks.

vinoo

Share this post


Link to post
Share on other sites

Hi Vinoo,

 

Welcome to FusionCharts Forum.

 

Angular Gauge and Linear Gauge does support the link attribute.

 

Ref. Code:

<dial value='92' rearExtension='10' link="http://www.fusioncharts.com" /> would create a link to the FusionWidgets Angular Gauge.

 

Foe more information on "JavaScript Functions as Links", please refer the following link:

http://www.fusioncharts.com/widgets/docs/Contents/DrillDown/JavaScript.html

 

I hope this helps.:)

Share this post


Link to post
Share on other sites

Thanks Radis.

 

I was able to get the Javascript working with Angular Guage ( Dials ). However the same approach did not for the linearGauge.

 

Here is the XML I used with HLinearGauge.swf chart type,

<chart lowerLimit="0" upperLimit="100" showTickMarks="1" numberSuffix="%25" decimalPrecision="0" ledGap="0" ledSize="2" ledBoxBgColor="333333" ledBorderColor="666666" borderThickness="5" chartLeftMargin="25" chartRightMargin="25" baseFontColor="333333" ticksBelowGauge="0">

<colorRange>

<color minValue="0" maxValue="30" code="FF0000" link='j-mytestJS-test1, 135'/>

<color minValue="30" maxValue="50" code="FFFF00" link='j-mytestJS-test2, 235'/>

<color minValue="50" maxValue="100" code="00FF00" link='j-mytestJS-test3, 435'/>

</colorRange>

</chart>

 

Thanks

vinoo

Share this post


Link to post
Share on other sites

Thanks Angshu.

 

I was able to get the links working with pointers in Linear Gauge. But we figured this is not exactly what we wanted to do. For our use case, we want to allow users to click on the regions itself, instead of having to click the pointer. eg: We will be rendering "High Medium Low" percentage buckets and allow the user to drill down on a particular bucket to see the details.

 

This lead us to try LED Gauge in place of Linear Gauge. But here also, we did not see the link property option ( Javascript ).

 

So can you please let us know whether link property is supported in LED gauges? If so can you provide us a sample.

 

Appreciate all your help.

 

Thanks

vinoo

Share this post


Link to post
Share on other sites
Guest Angshu

Hi,

 

Thanks for your response.

 

I am afraid, LED gauges does not support the link attribute, at this time.sad.gif

 

Thank you very much for your continued patience and patronage.

 

Hope you have a great day!

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