User Tools

Site Tools


Table of Contents

GisDrawChart(TGIS_RendererAbstract; TPoint; Integer; TGIS_ChartStyle; TGIS_DoubleArray; TGIS_ColorArray) method

DK11 for Delphi | GisChart.GisDrawChart | Overloads | Methods

Draw a chart of a given location.


// Delphi
procedure GisDrawChart(
  const _canvas : TGIS_RendererAbstract;
  const _center : TPoint;
  const _size : Integer;
  const _style : TGIS_ChartStyle;
  const _values : TGIS_DoubleArray;
  const _colors : TGIS_ColorArray
); overload;
// C++ Builder
extern DELPHI_PACKAGE void GisDrawChart(
  TGIS_RendererAbstract* const _canvas,
  TPoint* const _center,
  const int _size,
  TGIS_ChartStyle* const _style,
  TGIS_DoubleArray* const _values,
  TGIS_ColorArray* const _colors
) /* overload */;


Name Type Description
_canvas TGIS_RendererAbstract Canvas of device
_center TPoint origin (center) of chart i canvas coordinates
_size Integer size of the chart
_style TGIS_ChartStyle chart style for new chart
_values TGIS_DoubleArray array of values to be represented; first is minimum, second is maximum, and then
_colors TGIS_ColorArray array of colors to be represented


See TGIS_LayerVector.DrawChart for details and example.

2020/05/06 01:07

Page Tools