English Version | German Version
Hi all!
Here is a little Introduction about how you can create and use charts in NAV 2009.
CHARTPARTS
Definition: ChartsParts are possible "Part Controls" in a page or a role center. Currently there are 2 features.
- -Column Chart
- -Point Chart
Here you can find the list of available charts in NAV 2009.
You have to define an ID and a name. The definition of the chart is saved in the data field defined as XML.
RELATION BETWEEN CHART AND CHARTPART?
2 ways possible:
1. The user setup up the chart id which he wanted.
- "Customize this page"
- "Customize Part"
2. The developer set the property ChartPartID in the page designer
Sure it is also possible that the user change the chartid after developer set the default value in the page designer.
HOW CAN YOU CREATE YOUR OWN CHARTS?
Define your own XML file or copy an existing one and modify it.
You have to define:
- -X-Axis
- -Y-Axis
- -Measure Operator
- -Filter (optional)
- -ID and Name
Here is an example chart
This is the XML file of the sample chart
Based on this structure Lars Lohndorf from Microsoft created some NAV objects which make it possible to create chart with setup some records in NAV. This is not an official tool so not supported but can be use for your own risk. In his blog you can find the objects and a very good definition to charts in NAV 2009-
Based on his tables I created a ChartWizard for using in RT Client so that you can create a chart with this wizard.
ChartWizardRTClient download it here. For implementing just create an Action in a Role Center.
Feel Free for using the wizard and note that it is also on your own risk and not supported.
regards,
Rene