Skip to content

Tag Definition: drawing

Generated by rlextra version 4.3.0a1

Attributes

Name

Required?

Default_Value

Values

altText

implied

None

baseDir

implied

None

function

required

None

hAlign

implied

None

module

required

None

showBoundary

implied

None

tagType

implied

None

Can contain
(caption?, (param | widget)*)

Purpose

This lets you include a drawing created using diagra's drawing system, whether it's a chart or a graphic. Module representing the python file, function representing the name of the class within.

See the relevant docs here docs

Example usage

<story>
    <drawing module="charts.BarChart01" function="BarChart01">
        <param name="chart.barWidth">50</param>
    </drawing>
</story>

Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.

Example of nesting path from the parent tags to the current tag

<document> ➔ <story> ➔ <drawing>