Skip to content

Commit 06a3da4

Browse files
Targetting 2.9.7
1 parent f5ca3cb commit 06a3da4

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

image/Thumbs.db

5 KB
Binary file not shown.

js/chart.library.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,12 @@ pxWidget.chart.draw = function (id) {
287287
pxWidget.draw.params[id].data.labels = pxWidget.draw.params[id].data.labels.slice(0, pxWidget.draw.params[id].maxNumberValues);
288288
}
289289

290+
if (pxWidget.draw.params[id].labelMap) {
291+
// Translate labels
292+
pxWidget.draw.params[id].data.labels = pxWidget.draw.params[id].data.labels.map(label => pxWidget.draw.params[id].labelMap[label] || label);
293+
}
294+
295+
290296
// Run ChartJS
291297
var chart = new pxWidget.Chart(pxWidget.jQuery('#' + id).find('canvas'), pxWidget.jQuery.extend(true, {}, pxWidget.draw.params[id]));
292298

js/isogram.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ PxWidget - ISOGRAM
44
// Init
55
var pxWidget = pxWidget || {};
66
pxWidget.debug = false; // Enable/Disable minified JS/CSS resources
7-
pxWidget.root = 'https://cdn.jsdelivr.net/gh/CSOIreland/PxWidget@2.9.6/';
7+
pxWidget.root = 'https://cdn.jsdelivr.net/gh/CSOIreland/PxWidget@2.9.7/';
88

99
(function (i, s, o, g, r, a, m) {
1010
i[r].queue = i[r].queue || function () {

0 commit comments

Comments
 (0)