|
|
@@ -132,10 +132,10 @@ HueChart.Box = new Class({
|
|
|
if (this.options.ticks.x || this.options.ticks.y) this.setTicks(vis);
|
|
|
//Add axis labels if enabled
|
|
|
if (this.options.showLabels) this.setLabels(vis);
|
|
|
- //Add position indicator if enabled
|
|
|
- if (this.options.positionIndicator) this.setPositionIndicators(vis);
|
|
|
//Add representation of the data.
|
|
|
this.addGraph(vis);
|
|
|
+ //Add position indicator if enabled
|
|
|
+ if (this.options.positionIndicator) this.setPositionIndicators(vis);
|
|
|
//Create panel for capture of events
|
|
|
this.eventPanel = vis.add(pv.Panel).fillStyle("rgba(0,0,0,.001)");
|
|
|
//If there's a mouse event, add the functionality to capture these events.
|
|
|
@@ -610,7 +610,7 @@ HueChart.Box = new Class({
|
|
|
return seriesObject.value.toInt().convertFileSize();
|
|
|
}
|
|
|
}
|
|
|
- return String(value.round(2)) + " " + units;
|
|
|
+ return value.toInt().round(2) + " " + units;
|
|
|
},
|
|
|
//Updates the display of the currently visible tip
|
|
|
updatePointValue: function(seriesList) {
|