| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 14 | 3 | 3 | 0.972 | SourceElements[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 14 | 377 | Closure/closure/goog/ui/serverchart.js |
| 2 | 14 | 400 | Closure/closure/goog/ui/serverchart.js |
| 3 | 16 | 981 | Closure/closure/goog/ui/serverchart.js |
| ||||
/**
* Sets the 'chg' parameter of the chart Uri.
* This is used by various types of charts to specify Grids.
*
* @param {string} value Value for the 'chg' parameter in the chart Uri.
*/
goog.ui.ServerChart.prototype.setGridParameter= function (value){
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.GRID, value);
} ;
/**
* Returns the 'chg' parameter of the chart Uri.
* This is used by various types of charts to specify Grids.
*
* @return {string|undefined} The 'chg' parameter of the chart Uri.
*/
goog.ui.ServerChart.prototype.getGridParameter= function ( )
{
return /** @type {string} */
(
this.uri_.getParameterValue(goog.ui.ServerChart.UriParam.GRID));
} ;
|
| ||||
/**
* Sets the 'chm' parameter of the chart Uri.
* This is used by various types of charts to specify Markers.
*
* @param {string} value Value for the 'chm' parameter in the chart Uri.
*/
goog.ui.ServerChart.prototype.setMarkerParameter= function (value){
this.uri_.setParameterValue(goog.ui.ServerChart.UriParam.MARKERS, value);
} ;
/**
* Returns the 'chm' parameter of the chart Uri.
* This is used by various types of charts to specify Markers.
*
* @return {string|undefined} The 'chm' parameter of the chart Uri.
*/
goog.ui.ServerChart.prototype.getMarkerParameter= function ( )
{
return /** @type {string} */
(
this.uri_.getParameterValue(goog.ui.ServerChart.UriParam.MARKERS));
} ;
|
| ||||
/**
* Sets the position relative to the chart where the legend is to be displayed.
*
* @param {goog.ui.ServerChart.LegendPosition} value Legend position.
*/
goog.ui.ServerChart.prototype.setLegendPosition= function (value){
this.uri_.setParameterValue(
goog.ui.ServerChart.UriParam.LEGEND_POSITION, value);
} ;
/**
* Returns the position relative to the chart where the legend is to be
* displayed.
*
* @return {goog.ui.ServerChart.LegendPosition} Legend position.
*/
goog.ui.ServerChart.prototype.getLegendPosition= function ( )
{
return /** @type {goog.ui.ServerChart.LegendPosition} */
(
this.uri_.getParameterValue(
goog.ui.ServerChart.UriParam.LEGEND_POSITION));
} ;
|
| |||
/**
* Sets the 'chg' parameter of the chart Uri.
* This is used by various types of charts to specify Grids.
*
* @param {string} value Value for the 'chg' parameter in the chart Uri.
*/
/**
* Sets the 'chm' parameter of the chart Uri.
* This is used by various types of charts to specify Markers.
*
* @param {string} value Value for the 'chm' parameter in the chart Uri.
*/
/**
* Sets the position relative to the chart where the legend is to be displayed.
*
* @param {goog.ui.ServerChart.LegendPosition} value Legend position.
*/
goog.ui.ServerChart.prototype. [[#variable5c799060]]= function (value)
{ this.uri_.setParameterValue(goog.ui.ServerChart.UriParam. [[#variable5c798e60]],value);
} ;
/**
* Returns the 'chg' parameter of the chart Uri.
* This is used by various types of charts to specify Grids.
*
* @return {string|undefined} The 'chg' parameter of the chart Uri.
*/
/**
* Returns the 'chm' parameter of the chart Uri.
* This is used by various types of charts to specify Markers.
*
* @return {string|undefined} The 'chm' parameter of the chart Uri.
*/
/**
* Returns the position relative to the chart where the legend is to be
* displayed.
*
* @return {goog.ui.ServerChart.LegendPosition} Legend position.
*/
goog.ui.ServerChart.prototype. [[#variable5c798fc0]]= function ( )
{ return /** @type {string} */ /** @type {goog.ui.ServerChart.LegendPosition} */
(this.uri_.getParameterValue(goog.ui.ServerChart.UriParam. [[#variable5c798e60]]));
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#5c799060]] | setGridParameter |
| 1 | 2 | [[#5c799060]] | setMarkerParameter |
| 1 | 3 | [[#5c799060]] | setLegendPosition |
| 2 | 1 | [[#5c798e60]] | GRID |
| 2 | 2 | [[#5c798e60]] | MARKERS |
| 2 | 3 | [[#5c798e60]] | LEGEND_POSITION |
| 3 | 1 | [[#5c798fc0]] | getGridParameter |
| 3 | 2 | [[#5c798fc0]] | getMarkerParameter |
| 3 | 3 | [[#5c798fc0]] | getLegendPosition |