|
@@ -123,14 +123,14 @@ HueChart.Box = new Class({
|
|
|
if(this.hasData()) {
|
|
if(this.hasData()) {
|
|
|
//Set up the scales which will be used to convert values into positions for graphing.
|
|
//Set up the scales which will be used to convert values into positions for graphing.
|
|
|
this.setScales(vis);
|
|
this.setScales(vis);
|
|
|
- //Add representation of the data.
|
|
|
|
|
- this.addGraph(vis);
|
|
|
|
|
//Add tick marks (rules on side and bottom) if enabled
|
|
//Add tick marks (rules on side and bottom) if enabled
|
|
|
if (this.options.ticks.x || this.options.ticks.y) this.setTicks(vis);
|
|
if (this.options.ticks.x || this.options.ticks.y) this.setTicks(vis);
|
|
|
//Add axis labels if enabled
|
|
//Add axis labels if enabled
|
|
|
if (this.options.showLabels) this.setLabels(vis);
|
|
if (this.options.showLabels) this.setLabels(vis);
|
|
|
//Add position indicator if enabled
|
|
//Add position indicator if enabled
|
|
|
if (this.options.positionIndicator) this.setPositionIndicators(vis);
|
|
if (this.options.positionIndicator) this.setPositionIndicators(vis);
|
|
|
|
|
+ //Add representation of the data.
|
|
|
|
|
+ this.addGraph(vis);
|
|
|
//Create panel for capture of events
|
|
//Create panel for capture of events
|
|
|
this.eventPanel = vis.add(pv.Panel).fillStyle("rgba(0,0,0,.001)");
|
|
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.
|
|
//If there's a mouse event, add the functionality to capture these events.
|