Hello,
is it possible to create a tooltip in html with logic functionality?
I have this javascript function
sb.append( "function()" );
sb.append( "{" );
sb.append( " var text = '';" );
sb.append( " if(this.point.ivShowValue == true)" );
sb.append( " {" );
sb.append( " if( this.point.ivValue != null )" );
sb.append( " {" );
sb.append( " text = this.series.name +': <b>' + this.point.ivValueAsString + ' ' + this.point.ivMessage + '</b>';" );
sb.append( " }" );
sb.append( " else if ( this.point.ivBottomValue != null || this.point.ivUpperValue != null )" );
sb.append( " {" );
sb.append( " text = this.series.name + ':<br><b>' + this.point.ivUpperValueAsString + ' ' + this.point.ivUpperMessage + '</b><br><b>' + this.point.ivBottomValueAsString + ' ' + this.point.ivBottomMessage + '</b>';" );
sb.append( " }" );
sb.append( " }" );
sb.append( " else" );
sb.append( " {" );
sb.append( " text = this.series.name +': <b>'+ Highcharts.dateFormat('%d.%m.%y', this.point.low) + ' - ' + Highcharts.dateFormat('%d.%m.%y', this.point.high) + '</b><br>' + this.point.name;" );
sb.append( " }" );
sb.append( " return text;" );
sb.append( "}" );
the only thing i want is to set a tabulator. But it doesnt work with \t.
Could anyone help me out?
Thank you.