GetChartAxisYSec

Syntax

ChartAxisYSec GetChartAxisYSec(AxisId tAxis)

Parameters

tAxis. Moniker of chart's secondary Y axis.

Description

The GetChartAxisYSec operation gets settings of chart's secondary Y axis.

Comments

To execute the operation, in the tAxis field specify moniker if chart's secondary axis. The moniker can be created based on the chart moniker specified in the GetChart, SetChart, GetChartSeries operations. The moniker is created in the following format: 'Chart moniker'!AxisYSec'.

The operation results in the obtained axis settings.

Example

Below is the example of getting settings of chart's secondary Y axis. The request contains axis moniker. The response contains the obtained settings.

SOAP request:

<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<GetChartAxisYSec xmlns="http://www.fsight.ru/PP.SOM.Som">
<tAxis xmlns="">
  <id>S1!M!S!P1!Sheets!1!Objects!PrxChart3!AxisYSec</id>
  </tAxis>
  </GetChartAxisYSec>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetChartAxisYSecResult xmlns="http://www.fsight.ru/PP.SOM.Som" xmlns:q1="http://www.fsight.ru/PP.SOM.Som" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <p xmlns="">Auto</p>
  <cv xmlns="">1</cv>
<cf xmlns="">
  <family>Tahoma</family>
<style>
  <it>Regular</it>
  </style>
<size>
  <width>-1</width>
  <height>10</height>
  <units>Pt</units>
  </size>
  </cf>
  <cfc xmlns="">#918F8D</cfc>
  <lv xmlns="">1</lv>
<lf xmlns="">
  <family>Tahoma</family>
<style>
  <it>Regular</it>
  </style>
<size>
  <width>-1</width>
  <height>8</height>
  <units>Pt</units>
  </size>
  </lf>
  <lfc xmlns="">#918F8D</lfc>
  <la xmlns="">0</la>
<gl xmlns="">
  <enabled>1</enabled>
  <clr>#E0E0E0</clr>
  <s>0</s>
  <w>0.5</w>
  </gl>
<tl xmlns="">
  <enabled>0</enabled>
  </tl>
<al xmlns="">
  <enabled>0</enabled>
  </al>
  <max xmlns="">10</max>
  <amax xmlns="">0</amax>
  <min xmlns="">0</min>
  <amin xmlns="">0</amin>
  <nf xmlns="" />
  <du xmlns="">0</du>
  <stm xmlns="">3</stm>
  <tc xmlns="">5</tc>
  </GetChartAxisYSecResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetChartAxisYSec" :
{
"tAxis" :
{
"id" : "S1!M!S!P1!Sheets!1!Objects!PrxChart3!AxisYSec"
}
}
}

JSON response:

{
"GetChartAxisYSecResult" :
{
"p" : "Auto",
"cv" : "1",
"cf" :
{
"family" : "Tahoma",
"style" :
{
"it" : "Regular"
},
"size" :
{
"width" : "-1",
"height" : "10",
"units" : "Pt"
}
},
"cfc" : "#918F8D",
"lv" : "1",
"lf" :
{
"family" : "Tahoma",
"style" :
{
"it" : "Regular"
},
"size" :
{
"width" : "-1",
"height" : "8",
"units" : "Pt"
}
},
"lfc" : "#918F8D",
"la" : "0",
"gl" :
{
"enabled" : "1",
"clr" : "#E0E0E0",
"s" : "0",
"w" : "0.5"
},
"tl" :
{
"enabled" : "0"
},
"al" :
{
"enabled" : "0"
},
"max" : "10",
"amax" : "0",
"min" : "0",
"amin" : "0",
"nf" : "",
"du" : "0",
"stm" : "3",
"tc" : "5"
}
}
public static ChartAxisYSec GetAxisYSec(string moniker)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetChartAxisYSec()
{
tAxis = new AxisId()
{
id = moniker + "!AxisYSec"
}
};
// Get settings of secondary Y axis
var result = somClient.GetChartAxisYSec(tGet);
return result;
}

See also:

Chart