GetChartSerie

Syntax

ChartSerie GetChartSerie(SerieId tSerie)

Parameters

tSerie. Chart series moniker.

Description

The GetChartSerie operation gets chart series settings.

Comments

To execute the operation, in the tSerie field specify series moniker. The moniker can be created based on the chart moniker specified in the GetChart, SetChart, GetChartSeries operations. The moniker is created in one of the following formats:

The operation results in the obtained chart series settings.

Example

Below is the example of getting settings for series of the chart added to regular report sheet. The request contains series moniker. The response contains the obtained series 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">
<GetChartSerie xmlns="http://www.fsight.ru/PP.SOM.Som">
<tSerie xmlns="">
  <id>S2!M!S!P1!Sheets!1!Objects!PrxChart1!Series!0</id>
  </tSerie>
  </GetChartSerie>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetChartSerieResult 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">
  <type xmlns="">8</type>
  <name xmlns="" />
  <dil xmlns="">1</dil>
  <asa xmlns="">0</asa>
<bd xmlns="">
  <enabled>1</enabled>
  <clr>#488DB1</clr>
  <s>0</s>
  <w>0.25</w>
  </bd>
  <imask xmlns="">167903231</imask>
  </GetChartSerieResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetChartSerie" :
{
"tSerie" :
{
"id" : "S2!M!S!P1!Sheets!1!Objects!PrxChart1!Series!0"
}
}
}

JSON response:

{
"GetChartSerieResult" :
{
"type" : "8",
"name" : "",
"dil" : "1",
"asa" : "0",
"bd" :
{
"enabled" : "1",
"clr" : "#488DB1",
"s" : "0",
"w" : "0.25"
},
"imask" : "167903231"
}
}
public static ChartSerie GetChartSerie(string chartMoniker, uint serieNumber)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetChartSerie()
{
tSerie = new SerieId() { id = chartMoniker + "!Series!" + serieNumber }
};
// Get chart series settings
var result = somClient.GetChartSerie(tGet);
return result;
}

See also:

Chart