Spread for ASP.NET 7.0 Product Documentation
SetActiveChart
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > SetActiveChart

Glossary Item Box

Sets the active chart using the chart ID.

Syntax

[JavaScript]

FpSpread1.SetActiveChart("chartid");

Parameters

chartid
String, chart ID

Return Type

None

Remarks

This method changes the active chart to the one specified. This method does not cause a postback to occur.

Example

This is a sample that contains the method. On the client side, the script that contains the method would look like this:

JavaScript Copy Code
<SCRIPT>
  function moveSelection() {
    FpSpread1.SetActiveChart("chart_1");
  }
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.