lib/templates/html/cdf_uplift.html [124:145]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - type: 'line', data, options: { animation: false, responsive: true, plugins: { zoom: zoomOptions, datalabels: { display: function(context) { let num_visible = 0; for (let i =0 ; i < context.chart.data.datasets.length ; i++) { if (context.chart.isDatasetVisible(i)) { num_visible++; if (num_visible !== 1) { return false; } } } const index = context.dataIndex; const labelValue = context.chart.data.labels[index]; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - lib/templates/html/uplift.html [127:148]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - type: 'line', data, options: { animation: false, responsive: true, plugins: { zoom: zoomOptions, datalabels: { display: function(context) { let num_visible = 0; for (let i =0 ; i < context.chart.data.datasets.length ; i++) { if (context.chart.isDatasetVisible(i)) { num_visible++; if (num_visible !== 1) { return false; } } } const index = context.dataIndex; const labelValue = context.chart.data.labels[index]; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -