Escape HTML in titles of table charts
This commit is contained in:
parent
ae2a59f02d
commit
7e968cf30e
@ -53,6 +53,7 @@ $(document).ready(function() {
|
||||
},
|
||||
title: {
|
||||
text: $('input[name="chartTitle"]').attr('value')
|
||||
escapeHtml: true,
|
||||
//margin:20
|
||||
},
|
||||
legend: {
|
||||
@ -245,7 +246,8 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings)
|
||||
|
||||
var settings = {
|
||||
title: {
|
||||
text: ''
|
||||
text: ''
|
||||
escapeHtml: true,
|
||||
//margin:20
|
||||
}
|
||||
};
|
||||
@ -279,7 +281,7 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings)
|
||||
if (passedNonJqplotSettings.chart.type == 'spline') {
|
||||
settings.seriesDefaults = {
|
||||
rendererOptions: {
|
||||
smooth: true
|
||||
smooth: true
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user