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)
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";
"00_0_1"] = "February: 6.089.362 kos";
"00_0_1"] = "January: 6.700.380 kos";
var ED = new Array(3);
ED[
"00_0_2"] = "0&2&6126267&CO2Savings&March&00";
"00_0_1"] = "0&1&6089362&CO2Savings&February&00";
"00_0_1"] = "0&1&6700380&CO2Savings&January&00";
var TOOLTIP = IGB.GetObject("ctl00_ContentPlaceHolder1_UltraChart1_IGTooltip");
if (TOOLTIP != null) if (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 =
padding=
"0";
height =
"auto";
width =
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 =
ctl00_ContentPlaceHolder1_UltraChart1.EnableServerEvent =
ctl00_ContentPlaceHolder1_UltraChart1.Render([
false, false, false, true, false, new IGRectangle(5, 33, 890, 267 )]);
ctl00_ContentPlaceHolder1_UltraChart1.DEBUG =
ctl00_ContentPlaceHolder1_UltraChart1.Section508Compliant =
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
Hello polfi ,
I have been looking into your code still I am not sure how do you populate the chart data. Could you please provide me with a small sample where the issue presents so I can investigate it further.
Thanks in advance.
Sorry for the late reply.
What I try to show you is, that the tooltips are wrong.In the copied code you can see, that the tooltips were created OK, but on the webpage they are displaying wrong.
Go to http://www.imscargo.com/content/en/greenlogistics/environmentprotection/carbonfootprint.aspx and hoover over the bar's, you can see, that the tooltips for Jan. and Feb. are the same.