mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 04:09:08 +02:00
Return correct index/value id in radar/polarArea (#6581)
This commit is contained in:
parent
d3860137fe
commit
feaf418d4e
@ -123,6 +123,20 @@ module.exports = DatasetController.extend({
|
||||
'hoverBorderWidth',
|
||||
],
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
_getIndexScaleId: function() {
|
||||
return this.chart.scale.id;
|
||||
},
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
_getValueScaleId: function() {
|
||||
return this.chart.scale.id;
|
||||
},
|
||||
|
||||
update: function(reset) {
|
||||
var me = this;
|
||||
var dataset = me.getDataset();
|
||||
|
@ -20,13 +20,6 @@ defaults._set('radar', {
|
||||
});
|
||||
|
||||
module.exports = DatasetController.extend({
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
_getValueScaleId: function() {
|
||||
return this.chart.scale.id;
|
||||
},
|
||||
|
||||
datasetElementType: elements.Line,
|
||||
|
||||
dataElementType: elements.Point,
|
||||
@ -64,6 +57,20 @@ module.exports = DatasetController.extend({
|
||||
rotation: 'pointRotation'
|
||||
},
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
_getIndexScaleId: function() {
|
||||
return this.chart.scale.id;
|
||||
},
|
||||
|
||||
/**
|
||||
* @private
|
||||
*/
|
||||
_getValueScaleId: function() {
|
||||
return this.chart.scale.id;
|
||||
},
|
||||
|
||||
update: function(reset) {
|
||||
var me = this;
|
||||
var meta = me.getMeta();
|
||||
|
Loading…
Reference in New Issue
Block a user