Merged in bugfix/PMCORE-3404 (pull request #8207)
Bugfix/PMCORE-3404 Approved-by: Rodrigo Quelca
This commit is contained in:
committed by
Julio Cesar Laura Avendaño
commit
25679c6fea
@@ -111,6 +111,7 @@ export default {
|
|||||||
let that = this;
|
let that = this;
|
||||||
return {
|
return {
|
||||||
popoverTarget: "",
|
popoverTarget: "",
|
||||||
|
dataPointIndex: null,
|
||||||
showPopover: false,
|
showPopover: false,
|
||||||
category: null,
|
category: null,
|
||||||
dataProcesses: null, //Data API processes
|
dataProcesses: null, //Data API processes
|
||||||
@@ -141,8 +142,14 @@ export default {
|
|||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
click: function (event, chartContext, config) {
|
mouseMove: function (event, chartContext, config) {
|
||||||
that.$refs.popover.$emit("close");
|
if (
|
||||||
|
config.dataPointIndex != that.dataPointIndex &&
|
||||||
|
config.dataPointIndex != -1
|
||||||
|
) {
|
||||||
|
that.dataPointIndex = config.dataPointIndex;
|
||||||
|
that.$refs.popover.$emit("close");
|
||||||
|
}
|
||||||
if (config.dataPointIndex != -1) {
|
if (config.dataPointIndex != -1) {
|
||||||
that.currentSelection = that.totalCases[config.dataPointIndex];
|
that.currentSelection = that.totalCases[config.dataPointIndex];
|
||||||
that.onShowDrillDownOptions(
|
that.onShowDrillDownOptions(
|
||||||
@@ -162,7 +169,7 @@ export default {
|
|||||||
},
|
},
|
||||||
colors: ["#33b2df", "#546E7A", "#d4526e", "#13d8aa"],
|
colors: ["#33b2df", "#546E7A", "#d4526e", "#13d8aa"],
|
||||||
dataLabels: {
|
dataLabels: {
|
||||||
enabled: false,
|
enabled: true,
|
||||||
},
|
},
|
||||||
xaxis: {
|
xaxis: {
|
||||||
categories: [],
|
categories: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user