| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 4 | 0.959 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 915 | Closure/closure/goog/ui/serverchart.js |
| 2 | 12 | 961 | Closure/closure/goog/ui/serverchart.js |
| ||||
/**
* Sets the Left Labels for the chart.
* NOTE: The array should start with the lowest value, and then
* move progessively up the axis. So if you want labels
* from 0 to 100 with 0 at bottom of the graph, then you would
* want to pass something like [0,25,50,75,100].
*
* @param {Array.<string>} labels The Left Labels for the chart.
*/
goog.ui.ServerChart.prototype.setLeftLabels= function (labels){
this.leftLabels_= labels;
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.LEFT_Y_LABELS,
this.leftLabels_.reverse( ).join('|'));
} ;
/**
* @return {Array.<string>} The Left Labels for the chart.
*/
goog.ui.ServerChart.prototype.getLeftLabels= function ( )
{
return this.leftLabels_;
} ;
|
| ||||
/**
* Sets the Right Labels for the chart.
* NOTE: The array should start with the lowest value, and then
* move progessively up the axis. So if you want labels
* from 0 to 100 with 0 at bottom of the graph, then you would
* want to pass something like [0,25,50,75,100].
*
* @param {Array.<string>} labels The Right Labels for the chart.
*/
goog.ui.ServerChart.prototype.setRightLabels= function (labels){
this.rightLabels_= labels;
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.RIGHT_LABELS,
this.rightLabels_.reverse( ).join('|'));
} ;
/**
* @return {Array.<string>} The Right Labels for the chart.
*/
goog.ui.ServerChart.prototype.getRightLabels= function ( )
{
return this.rightLabels_;
} ;
|
| |||
/**
* Sets the Left Labels for the chart.
* NOTE: The array should start with the lowest value, and then
* move progessively up the axis. So if you want labels
* from 0 to 100 with 0 at bottom of the graph, then you would
* want to pass something like [0,25,50,75,100].
*
* @param {Array.<string>} labels The Left Labels for the chart.
*/
/**
* Sets the Right Labels for the chart.
* NOTE: The array should start with the lowest value, and then
* move progessively up the axis. So if you want labels
* from 0 to 100 with 0 at bottom of the graph, then you would
* want to pass something like [0,25,50,75,100].
*
* @param {Array.<string>} labels The Right Labels for the chart.
*/
goog.ui.ServerChart.prototype. [[#variable40b74be0]]= function (labels)
{ this. [[#variable62cce720]]=labels;
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam. [[#variable40b74b60]],this. [[#variable62cce720]].reverse( ).join('|'));
} ;
/**
* @return {Array.<string>} The Left Labels for the chart.
*/
/**
* @return {Array.<string>} The Right Labels for the chart.
*/
goog.ui.ServerChart.prototype. [[#variable40b74b00]]= function ( )
{ return this. [[#variable62cce720]];
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#40b74be0]] | setLeftLabels |
| 1 | 2 | [[#40b74be0]] | setRightLabels |
| 2 | 1 | [[#62cce720]] | leftLabels_ |
| 2 | 2 | [[#62cce720]] | rightLabels_ |
| 3 | 1 | [[#40b74b60]] | LEFT_Y_LABELS |
| 3 | 2 | [[#40b74b60]] | RIGHT_LABELS |
| 4 | 1 | [[#40b74b00]] | getLeftLabels |
| 4 | 2 | [[#40b74b00]] | getRightLabels |