Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1825
Tooltips dispalyed wrong
posted

Hi all!

 

I have a strange behaviour of the tooltips on a Ultrachart.
Item Values: Jannuary, February, March

Coresspondening Tooltip (mouse over): Jannuary, Jannuary, March.

So the Tooltip for February is displayed with the data from Jannauyr (see pic).

The genereated code in the aspx page:

<

script type="text/javascript">

//<![CDATA[

InitilizeScrollbar();

var ctl00_ContentPlaceHolder1_UltraChart1_IsLoaded = false;

function ctl00_ContentPlaceHolder1_UltraChart1_pRcEv(event, this_ref,row,column,event_name, layer_id)

{

if (ctl00_ContentPlaceHolder1_UltraChart1_IsLoaded)

Bounce(

event, "ctl00_ContentPlaceHolder1_UltraChart1", "onallevent", [this_ref, row, column, event_name, layer_id]);

}

function ctl00_ContentPlaceHolder1_UltraChart1_BaseMove(e)

{

if (ctl00_ContentPlaceHolder1_UltraChart1_IsLoaded)

Bounce(e,

'ctl00_ContentPlaceHolder1_UltraChart1');

}

var ctl00_ContentPlaceHolder1_UltraChart1 = null;

function Initializectl00_ContentPlaceHolder1_UltraChart1()

{

var TD = new Array(3);

TD[

"00_0_2"] = "March: 6.126.267 kos";

TD[

"00_0_1"] = "February: 6.089.362 kos";

TD[

"00_0_1"] = "January: 6.700.380 kos";

var ED = new Array(3);

ED[

"00_0_2"] = "0&2&6126267&CO2Savings&March&00";

ED[

"00_0_1"] = "0&1&6089362&CO2Savings&February&00";

ED[

"00_0_1"] = "0&1&6700380&CO2Savings&January&00";

var TOOLTIP = IGB.GetObject("ctl00_ContentPlaceHolder1_UltraChart1_IGTooltip");

if (TOOLTIP != nullif (TOOLTIP.style != null) with (TOOLTIP.style) {

align =

"left";

borderBottomWidths =

"1,1,1,1";

border =

"Black 1px outset";

backgroundColor =

"AntiqueWhite";

color =

"Black";

  textDecorationUnderline =

"";

  textDecorationLineThrough =

"";

  textDecorationOverline =

"";

  fontStyle =

"";

  fontWeight =

"";

  fontSize =

"";

  fontFamily =

"";

margins =

"1,1,1,1";

padding=

"0";

height =

"auto";

width =

"auto";

}

ctl00_ContentPlaceHolder1_UltraChart1 =

new IGUltraChart("ctl00_ContentPlaceHolder1_UltraChart1", "ChartImages", "ctl00$ContentPlaceHolder1$UltraChart1");

ctl00_ContentPlaceHolder1_UltraChart1.TooltipOverflow =

"ChartArea";

ctl00_ContentPlaceHolder1_UltraChart1.TooltipData = TD;

ctl00_ContentPlaceHolder1_UltraChart1.EventData = ED;

ctl00_ContentPlaceHolder1_UltraChart1.RowCount = 1;

ctl00_ContentPlaceHolder1_UltraChart1.ColumnCount = 3;

ctl00_ContentPlaceHolder1_UltraChart1.CreateComponents([

new IGRectangle(63, 40, 826, 218 )]);

ctl00_ContentPlaceHolder1_UltraChart1.EnableTooltipFading =

false;

ctl00_ContentPlaceHolder1_UltraChart1.TooltipDisplay = 1;

ctl00_ContentPlaceHolder1_UltraChart1.EnableCrossHair =

false;

ctl00_ContentPlaceHolder1_UltraChart1.EnableServerEvent =

false;

ctl00_ContentPlaceHolder1_UltraChart1.Render([

false, false, false, true, false, new IGRectangle(5, 33, 890, 267 )]);

ctl00_ContentPlaceHolder1_UltraChart1.DEBUG =

false;

ctl00_ContentPlaceHolder1_UltraChart1.Section508Compliant =

false;

ctl00_ContentPlaceHolder1_UltraChart1_IsLoaded =

true;

}

Initializectl00_ContentPlaceHolder1_UltraChart1();

//]]>

 

You can see it live: http://www.imscargo.com/content/en/greenlogistics/environmentprotection/carbonfootprint.aspx

Any ideas?

 

rgds

Parents Reply Children