const GeomLabels = require('./geom-labels');
const PolarLabels = require('./polar-labels');
const PieLabels = require('./pie-labels');

const Labels = {
  getLabelsClass(coordType) {
    let rst = GeomLabels;
    if (coordType === 'polar') {
      rst = PolarLabels;
    } else if (coordType === 'theta') { // pie chart
      rst = PieLabels;
    }
    return rst;
  }
};

module.exports = Labels;

@@ -127,16 +127,69 @@
 abels');
+%0Aconst IntervalLabels = require('./interval-labels');
 %0A%0Aconst 
@@ -385,24 +385,102 @@
  PieLabels;%0A
+    %7D else if (coordType === 'interval') %7B // bar%0A      rst = IntervalLabels;%0A
     %7D%0A    re

support textStyle callback