Package com._1c.g5.v8.dt.chart.common
Interface INativeChartImageServiceProvider
-
- All Known Implementing Classes:
NativeChartImageServiceProvider
public interface INativeChartImageServiceProviderSpecial interface for getting chart part images from native API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getChartImage(long scomData, int chartType, byte[] chartContent, int width, int height, String langCode)Gets bytes of chart images from native API
-
-
-
Method Detail
-
getChartImage
byte[] getChartImage(long scomData, int chartType, byte[] chartContent, int width, int height, String langCode)Gets bytes of chart images from native API- Parameters:
scomData- address of SCOM process data with necessary componentschartType- type of chart - usual chart, gantt chart or dendrogramchartContent- serializedChartcontent, can't benullwidth- full width of chart diagramheight- full height of chart diagramlangCode- current language code, can't benull- Returns:
- array of byte with next format - 4 bytes - bytes array size of image corresponding to the main part of diagram - 4 bytes - bytes array size of image corresponding to the legend part of diagram - 4 bytes - bytes array size of image corresponding to the title part of diagram - bytes of image corresponding to the main part of diagram - bytes of image corresponding to the legend part of diagram - bytes of image corresponding to the title part of diagram
-
-