plotly.js
Version:
The open source javascript graphing library that powers plotly
11 lines (8 loc) • 335 B
JavaScript
var scatterPolarFormatLabels = require('../scatterpolar/format_labels');
module.exports = function formatLabels(cdi, trace, fullLayout) {
var i = cdi.i;
if(!('r' in cdi)) cdi.r = trace._r[i];
if(!('theta' in cdi)) cdi.theta = trace._theta[i];
return scatterPolarFormatLabels(cdi, trace, fullLayout);
};
;