User Tools

Site Tools


api:dk11:delphi:gischart.gisdrawchart_tgis_rendererabstract_tpoint_integer_tgis_chartstyle_tgis_doublearray_tgis_colorarray

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.

Syntax

// 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 */;

Parameters

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

Remarks

See TGIS_LayerVector.DrawChart for details and example.

2020/05/06 01:07

Page Tools