Sign in to follow this  

Open new window with Linear gauge

Recommended Posts


I have been trying to open a new window using a Linear Gauge, is this possible? The gauge has 3 different ranges and I would like to open a new chart depending on the range you click on.


Share this post

Link to post
Share on other sites


Could you please see blue print application?

You can follow this code also.

FC_ChartUpdated method is called when user has changed pointer value.

Here, we track down the chage in year Selector Liner Gauge on top of the page

function FC_ChartUpdated(DOMId){

  //Check if DOMId is that of the chart we want i.e. year selection linear gauge

  if (DOMId.toLowerCase()=="fg_yearselector"){

  //Get reference to the chart

 var FGRef = getChartFromId(DOMId);

 //Get the selected value/year

 var year = Math.round(FGRef.getData(1));


 //updating YearSelectionChart to go to the centre of year's value

 FGRef = getChartFromId("FG_YearSelector");

 FGRef.setData(1, year);

 location.href="abcd.php?year=" + year;



Edited by Guest

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