Package com._1c.g5.v8.dt.chart.common
Class NativeChartImageServiceProvider
- java.lang.Object
- 
- com._1c.g5.v8.dt.chart.common.NativeChartImageServiceProvider
 
- 
- All Implemented Interfaces:
- INativeChartImageServiceProvider
 
 public class NativeChartImageServiceProvider extends Object implements INativeChartImageServiceProvider Default implementation ofINativeChartImageServiceProvider
- 
- 
Constructor SummaryConstructors Constructor Description NativeChartImageServiceProvider()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getChartImage(long scomDataAddress, int chartType, byte[] chartContent, int width, int height, String langCode)Gets bytes of chart images from native API
 
- 
- 
- 
Method Detail- 
getChartImagepublic byte[] getChartImage(long scomDataAddress, int chartType, byte[] chartContent, int width, int height, String langCode)Description copied from interface:INativeChartImageServiceProviderGets bytes of chart images from native API- Specified by:
- getChartImagein interface- INativeChartImageServiceProvider
- Parameters:
- scomDataAddress- address of SCOM process data with necessary components
- chartType- type of chart - usual chart, gantt chart or dendrogram
- chartContent- serialized- Chartcontent, can't be- null
- width- full width of chart diagram
- height- full height of chart diagram
- langCode- current language code, can't be- null
- 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
 
 
- 
 
-