Add an HTML builder

Last modified by Aurelie Bertrand on 2021/10/11 15:53

The HTML builder flow builds HTML files incorporating charts generated by DigDash Enterprise.
A file containing pointers to charts serves as a template. Each time a builder is synchronized it replaces the pointers with the content of the charts.
This model is managed entirely by the user. A syntax based on simple HTML attributes makes it possible to characterize HTML elements as support for charts.

To create your first builder, in the toolbar at the top of the main window, open the Flow menu then select HTML builder.
In the "Flow property" window, click on the icon for accessing the HTML editor.

To insert a chart add the ddflow class to the target html element.

Then add the following attributes to this html element to describe the graphic and its rendering:

  • data-dd-flowid: the id of the graph
  • data-dd-width: the width in pixels of the image representing the graph (useless for tables)
  • data-dd-height: the height in pixels of the image representing the graphic (useless for tables)

Example:

<div class="ddflow"
     data-dd-flowid="f6b1d99"
     data-dd-width="480"
     data-dd-height="320">
</div>