

ProEssentials ActiveX Charting components are used when creating stand-alone client-side EXEs or within containers that accept ActiveX components. This ActiveX Charting Walk-through includes instructions for Microsoft Access 2007-2017 and should apply to later and earlier versions of Access.
ProEssentials에는 pe_query.py를 사용하여 AI 도구에 완전한 API에 대한 온디맨드 액세스를 제공하는 AI 코드 어시스턴트 시스템이 포함되어 있습니다 — 잘못된 속성 경로를 방지하는 Ground Truth 검증 기능을 갖추고 있습니다.
Claude, Gemini, GitHub Copilot, Cursor 및 ChatGPT와 호환됩니다.
ProEssentials charting within MS Access allows improved scientific, engineering, and financial charting within your Access databases; such as improved 3D, improved multiple axes, and improved end-user customization and export.
Our AI Knowledge and AI-Resources will help write 100% non-hallucinogenic OCX based VBA code.
Note that ProEssentials v11 installs an extensive demo project that replicates our complete 116 examples within Access: fully replicating our WPF, Winforms, MFC demos. We guarantee you've never seen this level of high performance charting within an Access Database. See the demo installed at ProEssentials11/Access/PE11FullDemo

When installing ProEssentials, the setup program installs the ProEssentials DLL and ActiveX interfaces into the system directory. The setup program also registers the ActiveXs with the operating system, which prepares MS Access, Visual Basic for inclusion of ProEssentials components. You can manually register an ActiveX with "REGSVR32.EXE" found in your system32 or syswow64 on 64 bit systems. You can also use this utility to manually un-register an ActiveX by using the "-u" command.
Note that 32 and 64 bit OCXs use the identical file name but are different files.
From the [New] menu, create a new [Blank Database].

The project opens and shows a default blank table.
Click / select the Table1 and referring to the image below, add a few fields and data as shown.
Fields 1 and 2 are number type fields, and Field 3 is a Short Text type field.

Using the [Create] menu, add a new [Blank Form]. Below shows the newly created blank form.
Click / select the Form1 tab, then...

You see the Insert ActiveX Control dialog showing all ActiveX controls registered with the operating system.
This image shows multiple ProEssentials versions installed, which will only be the case if more than one setup program has been installed.
Select the Pego v11 Control and select OK.

The Pego ActiveX is placed on the form. You may increase its size as needed.
Note the design view image may not fully refresh while resizing; toggling the design view button off and on will cause the chart to re-draw to your new size.
Select the [Design] menu, and then the [Property Sheet] menu item to show the property window.
Double check that the Name property is set to Pego1 to match the VBA code below.
Make sure 'Form' is shown as the Selection Type, click the Event tab, and click the [...]for the OnLoad event to open the Visual Basic editor and add the code below to the Form_Load event. Note that within the design view editor, clicking the solid grey area below the detail section will also select the Form and show Form related properties and events.

Pego1.SubsetByPoint = False
Pego1.Subsets = 2
Pego1.Points = 10000#
Pego1.MainTitle = "Hello World"
Pego1.SubTitle = ""
Pego1.SubsetLabels(0) = "For .Net Framework"
Pego1.SubsetLabels(1) = "or MFC, ActiveX, VCL"
Pego1.YAxisLabel = "Simple Quality Rendering"
Pego1.SubsetColors(0) = Pego1.PEargb(60, 0, 180, 0)
Pego1.SubsetColors(1) = Pego1.PEargb(180, 0, 0, 130)
Pego1.BitmapGradientMode = True
Pego1.QuickStyle = PEQS_LIGHT_SHADOW
Pego1.DeskColor = Pego1.PEargb(255, 255, 255, 255)
Pego1.GraphPlusTable = PEGPT_BOTH
Pego1.DataPrecision = PEDP_NODECIMALS
Pego1.LabelBold = True
Pego1.PlottingMethod = GPM_BAR
Pego1.GradientBars = 8
Pego1.BarGlassEffect = True
Pego1.LegendLocation = PELL_LEFT
Pego1.DataShadows = PEDS_3D
Pego1.FontSize = PEFS_LARGE
Pego1.PrepareImages = True
Pego1.CacheBmp = True
Pego1.RenderEngine = PERE_DIRECT2D
Pego1.AntiAliasGraphics = True
Pego1.AntiAliasText = True
Pego1.AllowDataHotSpots = True
Pego1.PEactions = REINITIALIZE_RESETIMAGE
Dim db As Database
Dim MyRS As DAO.Recordset
Dim MySQL As String
MySQL = "select Field1, Field2, Field3 from Table1"
Set db = CurrentDb()
Set MyRS = db.OpenRecordset(MySQL)
Dim nCount As Integer
Do While (MyRS.EOF = False)
Pego1.YData(0, nCount) = MyRS("Field1")
Pego1.YData(1, nCount) = MyRS("Field2")
Pego1.PointLabels(nCount) = MyRS("Field3")
nCount = nCount + 1
MyRS.MoveNext
Loop
Pego1.Points = nCount
MyRS.Close
Set MyRS = Nothing
Pego1.PEactions = 0
This code both initializes the chart with settings and passes data.
This code is slightly unique to MS Access implementations when reading data from SQL tables where the amount of data is currently unknown. Note the code sets:
The SubsetByPoint = False setting configures the chart to efficiently allow the Points property to grow or shrink as needed as long as Subsets stays the same.
This code sets Points to a likely maximum, then at the end of the code section sets Points to the actual number of records read. In the process of reading records the Points property could be increased, though it is most efficient to reduce the number of times Points is changed.
Once you become familiar with MS Access code to load tables as needed, there are more advanced features to copy blocks of memory with a function called PEvset.
Knowing how to use VB code to read tables into your charts is the most robust skill to learn. Rarely will one SQL populate a highly configured real-world chart. Having the option of sending some SQL results to a Subset and others to our Annotation features will allow for full creativity with the ProEssentials product.

Thank you for researching. Please contact our engineers if you have a question.
귀사의 조직과 최종 사용자들에게 가장 쉽고 가장 전문적인 혜택을 제공함으로써 귀사께서 성공하시는 것이 당사의 최우선 목표입니다.
프로에센셜은 자체 차트 컴포넌트가 필요한 전기 공학 전문가들로부터 태어났습니다. 프로에센셜을 사용하는 탑 엔지니어링 기업들 명단에 참여히세요.
프로에센셜 고객이 되어주셔서 감사드리며, 프로에센셜 차트 제작 엔진을 연구해주셔서 감사드립니다.