-
Notifications
You must be signed in to change notification settings - Fork 141
160_Line_break
Ole Kröger edited this page Aug 11, 2014
·
3 revisions
Previous Page Next Page Table of content
If you want to have line break in your templates, just put a '\n' in a template concatenation.
Example : inGraphDataTmpl : "<%=v1%>\n<%=v3%>"
If you want to have line break in a label, just put a '\n' in the label.
Example :
var datamissing = {
labels : ["January\n2014","February\n2014","March\n2014",
"April\n2014","May\n2014","June\n2014","July\n2014"],
datasets : [
{
fillColor : ["rgba(220,220,220,0.5)"],
strokeColor : "rgba(220,220,220,1)",
pointColor : "rgba(220,220,220,1)",
pointstrokeColor : "#fff",
data : [65,59,,81,56,55,],
title : "2014"
},
{
fillColor : "rgba(151,187,205,0.5)",
strokeColor : "rgba(151,187,205,1)",
pointColor : "rgba(151,187,205,1)",
pointstrokeColor : "#fff",
data : [,,40,19,96,27,100],
title : "2013"
}
]
}
Line Breaks cannot be inserted in the annotates.