| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 3 | 2 | 2 | 0.974 | ExpressionStatement |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 3 | 437 | Closure/closure/goog/ui/serverchart.js |
| 2 | 3 | 677 | Closure/closure/goog/ui/serverchart.js |
| ||||
/**
* Returns the 'chp' parameter of the chart Uri.
* This is used by various types of charts to specify certain options.
* e.g., finance charts use this to designate which line is the 0 axis.
*
* @return {string|undefined} The 'chp' parameter of the chart Uri.
*/
goog.ui.ServerChart.prototype.getMiscParameter= function ( )
{
return /** @type {string} */
(
this.uri_.getParameterValue(goog.ui.ServerChart.UriParam.MISC_PARAMS));
} ;
|
| ||||
/**
* Returns the chart type.
*
* @return {goog.ui.ServerChart.ChartType} The chart type.
*/
goog.ui.ServerChart.prototype.getType= function ( )
{
return /** @type {goog.ui.ServerChart.ChartType} */
(
this.uri_.getParameterValue(goog.ui.ServerChart.UriParam.TYPE));
} ;
|
| |||
/**
* Returns the 'chp' parameter of the chart Uri.
* This is used by various types of charts to specify certain options.
* e.g., finance charts use this to designate which line is the 0 axis.
*
* @return {string|undefined} The 'chp' parameter of the chart Uri.
*/
/**
* Returns the chart type.
*
* @return {goog.ui.ServerChart.ChartType} The chart type.
*/
goog.ui.ServerChart.prototype. [[#variable202372e0]]= function ( )
{ return /** @type {string} */ /** @type {goog.ui.ServerChart.ChartType} */
(this.uri_.getParameterValue(goog.ui.ServerChart.UriParam. [[#variable202371a0]]));
} ;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#202372e0]] | getMiscParameter |
| 1 | 2 | [[#202372e0]] | getType |
| 2 | 1 | [[#202371a0]] | MISC_PARAMS |
| 2 | 2 | [[#202371a0]] | TYPE |