Prev Next

Dynamic Charts

Enterprise Architect features DynamicChart Artifacts, which are Chart elements that can be styled and rendered dynamically when the diagram opens. Dynamic Charts rely completely on code to define their series, style and content and are managed entirely through the Automation Interface by clients - typically plugins and scripts. The Chart interfaces provide clients with the means to dynamically describe and populate a Chart when the diagram is viewed. The API is wide ranging and flexible, allowing you to illustrate many different scenarios graphically at runtime. The feature allows you to define any type of chart you require using JavaScript either as code or JSON.

A good reference for the Chart interfaces and their use is the 'EA 15 Examples > Dynamic Charts' Package in the Enterprise Architect Example Model. This Package contains examples of many charts, each described dynamically by JavaScript clients. Each chart example presents the two methods of rendering - a JavaScript coding method and a JSON datasource method.

Dynamic Charts are particularly useful for representing the results of simulations, allowing you to:

  • Save the results of your simulation as visual Chart elements
  • Easily include Charts populated by simulation results in your reports
  • Share user-friendly simulation results with stakeholders without requiring any additional simulation tools

Learn more