NAV2009 – Charts and ChartParts (Chart Wizard) (English)

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.

SNAG-0024

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" 

SNAG-0026 SNAG-0027

2. The developer set the property ChartPartID in the page designer

SNAG-0028

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

SNAG-0029

This is the XML file of the sample chart

SNAG-0030

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.

ChartWizard SNAG-0031

Feel Free for using the wizard and note that it is also on your own risk and not supported.

regards,

Rene

NAV2009 – Charts and ChartParts (Chart Wizard) (English)

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.

*

code