Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > SetActiveChart |
Sets the active chart using the chart ID.
[JavaScript]
FpSpread1.SetActiveChart("chartid");
None
This method changes the active chart to the one specified. This method does not cause a postback to occur.
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> |