提示未显示“<”和“>”之间的文本
require(["wijmo.wijbarchart"], function () {$(document).ready(function () {
$("#wijbarchart").wijbarchart({
hint: {
content: function () {return this.x + '<cable>' + '\n ' + this.y + '';}
/* here the axis labels enclosed in < and > are not displaying.*/
}
条形图中的提示未显示 html 特殊字符 < 和 > 中包含的文本
最佳答案
我认为是三 Angular 括号把它塞满了。尝试没有它们。如果有效,那么您需要转义括号。
< and >
给你
'<cable>'
关于javascript - 条形图中的提示未显示 html 特殊字符中包含的文本,例如 <cable>,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33032286/