PC SOFT

WINDEV的在线文档

  • Overview
  • How do I draw?
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

Drawing charts in an Image control

Overview
WinDev, WinDev Mobile and WebDev include several functions used to create and handle the charts.

Several types of charts can be created: Pie, Column, Line and Scatter charts, ... The display options are used to produce different visual effects for each type of chart.

These charts can be drawn:

  • in an image file,
  • in an Image control.
  • WinDev in a window,
  • 19版本和更高版本
    in an 图片 variable.
    19新版本
    in an 图片 variable.
    in an 图片 variable.

How do I draw?
To draw a chart in an Image control, some rules must be complied with:
  1. Create the chart with 图表创建.
  2. Initialize the chart data with the 图表添加数据 and 图表散点图添加数据XY functions.
  3. Choose an Image control as the destination for the chart (图表目的地控件)
  4. Draw the chart with 图表绘制.
Example:

图表创建"Chart1"图表.饼图
图表添加数据"Chart1"150
图表添加数据"Chart1"190
图表添加数据"Chart1"1500
图表目的地控件"Chart1"IMG_Image1
图表绘制"Chart1"