<< Click to Display Table of Contents >> Navigation: »No topics above this level« TOC : Script API > JavaScript > JavaScript API > ChartObject > ChartPiePiece3D > Method >SetLinkPostURL |
Call and display the web browser URL of the target frame using POST method.
Prototype :
void SetLinkPostURL
(
string URL,
string Target,
string PostParameter
)
Arguments :
URL |
URL. set with protocol |
Target |
web browser call option one of _self, _parent, _top, _blank, or window name |
PostParameter |
parameter to send using POST method |
Reference :
This is only supported on the PC viewer.
If OZ viewer is executed as Stand-Alone, _blank is the only web browser call option.
Example :
var ChartRootUnit = This.GetChartRootUnit();
var ChartShapeCnt = ChartRootUnit.GetShapeCount();
for(i = 0; i < ChartShapeCnt; i++) {
var ChartShape = ChartRootUnit.GetShape(i);
var ChartPieceCnt = ChartShape.GetPieceCount();
for(j = 0; j < ChartPieceCnt; j++) {
var ChartPiece = ChartShape.GetPiece(j);
ChartPiece.SetLinkPostURL("http://www.forcs.com", "_self", "");
}
}
Available Events :
OnPostChartBuild