GetChartAxisLevelLines

Syntax

ChartAxisLevelLines GetChartAxisLevelLines(LevelLinesId tLevelLinesId)

Parameters

tLevelLinesId. Moniker for working with chart axis level lines.

Description

The GetChartAxisLevelLines operation gets settings of chart axis level lines.

Comments

To execute the operation, in the tLevelLinesId field specify moniker for working with level lines. Moniker format: Regular report instance moniker!Sheets!sheet key!Objects!chart identifier!axis identifier!LevelLines. The following axis identifiers are available:

The operation results in the obtained level line settings.

Example

Below is the example of getting chart axis level line settings. The request contains moniker for working with level lines. 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">
<GetChartAxisLevelLines xmlns="http://www.fsight.ru/PP.SOM.Som">
<tLevelLinesId xmlns="">
  <id>IOBMGLDPOIBOFOAEONLPLMHPBOFJKECEFJFPJDPALBEBLOAJ!M!S!PKAKNIPDPOIBOFOAEFGIEKKHIJGANGHCEBKHAMGBHBJHFEANF!Sheets!1!Objects!PrxChart1!AxisY!LevelLines</id>
  </tLevelLinesId>
  </GetChartAxisLevelLines>
  </s:Body>
  </s:Envelope>

SOAP response:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<GetChartAxisLevelLinesResult 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">
<lls xmlns="">
  <i>0</i>
  <v>1.5</v>
  <callft>0</callft>
<ls>
  <clr>#000000</clr>
  <s>0</s>
  <w>0.25</w>
  </ls>
<lb>
  <v>0</v>
<f>
  <family>Tahoma</family>
<style>
  <it>Regular</it>
  </style>
<size>
  <width>-1</width>
  <height>8</height>
  <units>Pt</units>
  </size>
  </f>
  <fc>#000000</fc>
  <mt>%Computation : %Value</mt>
  </lb>
  </lls>
<lls xmlns="">
  <i>1</i>
  <v>2.5</v>
  <callft>5</callft>
<ls>
  <clr>#000000</clr>
  <s>0</s>
  <w>0.25</w>
  </ls>
<lb>
  <v>1</v>
<f>
  <family>Tahoma</family>
<style>
  <it>Regular</it>
  </style>
<size>
  <width>-1</width>
  <height>8</height>
  <units>Pt</units>
  </size>
  </f>
  <fc>#000000</fc>
  <mt>Average</mt>
  </lb>
  </lls>
  </GetChartAxisLevelLinesResult>
  </soapenv:Body>
  </soapenv:Envelope>

JSON request:

{
"GetChartAxisLevelLines" :
{
"tLevelLinesId" :
{
"id" : "IOBMGLDPOIBOFOAEONLPLMHPBOFJKECEFJFPJDPALBEBLOAJ!M!S!PKAKNIPDPOIBOFOAEFGIEKKHIJGANGHCEBKHAMGBHBJHFEANF!Sheets!1!Objects!PrxChart1!AxisY!LevelLines"
}
}
}

JSON response:

{
"GetChartAxisLevelLinesResult" :
{
"lls" :
[
{
"i" : "0",
"v" : "1.5",
"callft" : "0",
"ls" :
{
"clr" : "#000000",
"s" : "0",
"w" : "0.25"
},
"lb" :
{
"v" : "0",
"f" :
{
"family" : "Tahoma",
"style" :
{
"it" : "Regular"
},
"size" :
{
"width" : "-1",
"height" : "8",
"units" : "Pt"
}
},
"fc" : "#000000",
"mt" : "%Computation : %Value"
}
},
{
"i" : "1",
"v" : "2.5",
"callft" : "5",
"ls" :
{
"clr" : "#000000",
"s" : "0",
"w" : "0.25"
},
"lb" :
{
"v" : "1",
"f" :
{
"family" : "Tahoma",
"style" :
{
"it" : "Regular"
},
"size" :
{
"width" : "-1",
"height" : "8",
"units" : "Pt"
}
},
"fc" : "#000000",
"mt" : "Average"
}
}
]
}
}
public static ChartAxisLevelLines GetChartAxisLevelLines(string moniker, string sheetKey, string chartId, string axis)
{
var somClient = new SomPortTypeClient(); // Proxy object for operation execution
// Operation execution parameters
var tGet = new GetChartAxisLevelLines()
{
tLevelLinesId = new LevelLinesId() { id = moniker + "!Sheets!" + sheetKey + "!Objects!" + chartId + '!' + axis + "!LevelLines" }
};
// Get chart axis level line settings
var result = somClient.GetChartAxisLevelLines(tGet);
return result;
}

See also:

Chart