Loading

Help documentation

Macro reference

Standard Macros

Standard macros appear on the editing toolbar and can be created using the Macro Builder. If you are are familiar with Mingle macros and MQL syntax, you can also write macros by hand by clicking the Mingle icon in the editing toolbar.

  • Project variables are available as values for most parameters on the standard macros. Any project variable data types which match the types of any chart parameters can be used to generate charts. For example, you can use the date project variable called (Release Start Date) in 'x-labels-start' in data series chart.
  • You can also use THIS CARD.property (where property is any property name) as a value for most parameters on the standard macros. Any property data types which match the types of any chart parameters can be used in THIS CARD.property to generate charts. For example, you can use THIS CARD."Start Date" as the value of the parameter 'x-labels-start' on the data series chart. This will restrict the x-axis to start on the value of the "Start Date" property on the card where it is used.
  • Macro markup is space sensitive and we advise you to stick to the indentation scheme specified in the examples if you write your macro by hand.

Charts

To create a chart or graph with data from a Mingle project(s), you can use a Mingle macro. You can either 1) hand-type the macro by clicking the orange Mingle icon on the editing toolbar or 2) insert a template macro using the Macro Builder.

See Mingle tips and tricks for hints on macro syntax, chart layout and chart sizing, and using project variables in charts.

Data series chart

Daily history chart

Forecasting chart

Fixed date chart

Stacked bar chart

Ratio bar chart

Pie chart

Table Macros

Table - based on a query

Table - based on a favorite

Pivot table

Query macros

Average query

Value query

Other macros

Project macro and Project as a chart option level

Project variable value macro

Go pipeline status macro

OpenSocial gadget macro

Google calendar macro

Google map macro

Custom macros

Cross project macros

Mingle 3.0 includes updates to the Macro Development Toolkit to facilitate cross project reporting for program management. As an example of the cross project macro functionality available via the Macro Development Toolkit, Mingle 3.0 ships with a new macro called cross-project-rollup.

Cross project rollup