Quick StartThe ReportMagic MenuReport StudioFilesSchedulesBatch JobsReport JobsDashboardsProfileAdminAccount DetailsGetting StartedAbout ReportMagicRegistering and Logging InReport LibrarySearching ReportMagicConnections and AgentsWriting ReportsStarting Out With Report StudioCreating Report TemplatesRMScriptMacro ShorthandReporting on Different Periods of TimeSetting Macro Parameter DefaultsStoring Input and Output FilesReport VariablesUsing Variable ParametersSpecifying How Graphs LookStep-by-Step LogicMonitor Graph ExamplesStep-by-Step Jira Graph ExamplesSpecifying How Tables LookChanging Fonts and ColorsUsing Macros in PowerPoint TemplatesRestricted MacrosGenerating Reports Using SchedulesUsing HTML Forms in SchedulesSeeing How Reports RanViewing ReportsCached ValuesUsing AggregationsAdvanced Report StudioAdvanced [Object.Graph:] MacroAPI AccessREST APIREST API - FilesAdvancedRole-Based Access Control (RBAC)SecurityMiscellaneousBadgesCertificationsTips, Tricks and Shortcut KeysMacrosAgentAgent.ConnectionAgent.ExecuteAgent.MonitorMagicNodeListAgent.MonitorMagicNodeMeasurementListAgent.MonitorMagicNodeMeasurementSummaryAgent.MonitorMagicNodePropertyListAgent.MonitorMagicNodeTypeListAgent.PropertyAgent.SqlAnalysisAgent.SqlGraphAgent.SqlListAgent.SqlTableAgent.SqlValueAgent.SqlValuesAgent.WebQueryAlertMagicAlertMagic.MetricsGraphAlertMagic.MetricsListAlertMagic.StatisticsAutoTaskAutoTask.AccountListAutoTask.AccountPropertyAutoTask.ConnectionAutoTask.CountAutoTask.FieldListAutoTask.FieldPropertyAutoTask.ListAutoTask.PropertyAutoTask.SummaryValueAutoTask.TicketListAutoTask.TicketPropertyAzureAzure.ConnectionAzure.LogAnalyticsGraphAzure.LogAnalyticsQueryAzure.LogAnalyticsScalarAzure.LogAnalyticsTableAzure.ResourceGroupListAzure.ResourceListAzure.ResourcePropertiesAzure.SentinelAlertRuleListAzure.SentinelConnectorListAzure.SentinelIncidentListAzure.SentinelThreatIndicatorListAzure.SentinelThreatIndicatorMetricListAzure.SubscriptionListBloggerBlogger.BlogPropertyBlogger.ConnectionBlogger.PageBlogger.PageListBlogger.PagePropertyBlogger.PostBlogger.PostListBlogger.PostPropertyCacheCache.ExpiresCache.GetCache.IsSetCache.SetCache.UnsetCertifyCertify.ConnectionCertify.DepartmentListCertify.DepartmentPropertyCherwellCherwell.BusinessObjectDefinitionListCherwell.BusinessObjectListCherwell.BusinessObjectSchemaCherwell.BusinessObjectSummaryCherwell.ConnectionCiscoCisco.ConnectionCisco.FirmwareVersionPropertyCisco.SecurityAdvisoryListCisco.SerialNumberPropertyCisco.SoftwareSuggestionListCiscoDnaCenterCiscoDnaCenter.ConnectionCiscoDnaCenter.SiteListCiscoDnaCenter.SitePropertyCloudHealthCloudHealth.AssetDetailsCloudHealth.AssetListCloudHealth.AvailableReportDimensionsCloudHealth.AvailableReportOptionsCloudHealth.AvailableReportsListCloudHealth.AwsAccountDetailsCloudHealth.AwsAccountsListCloudHealth.ConnectionCloudHealth.CustomerDetailsCloudHealth.CustomerListCloudHealth.CustomerReportDetailsCloudHealth.CustomerStatementDetailsCloudHealth.OrganisationAccountsListCloudHealth.OrganisationListCloudHealth.QueryCodacyCodacy.ConnectionCodacy.ListConnectWiseManageConnectWiseManage.ConnectionConnectWiseManage.CountConnectWiseManage.DictionaryConnectWiseManage.ListConnectWiseManage.PropertyCoreArrayArray.CountBreakBreakpointCalculateColorCommentContinueConvertDeleteDeleteRowDocumentBookmarkDocumentBreakDocumentInsertSectionDocumentSectionEmailEmailFileEmailReportExecuteForEachFormatTableCellFormatTableRowIfIgnoreIncInsertTableCellImageIsSetLinearRegressionLinkMapObjectRandomRegexRepeatRowSearchAndReplaceSectionSettingsSleepStopStopwatchStringStringIndexSubstringSwitchThrowExceptionUnsetWarningWhileDatabaseDatabase.ConnectionDatabase.GraphDatabase.ListDatabase.TableDatabase.ValueDatabase.ValuesDataMagicDataMagic.SyncDictionaryDictionary.ItemDictionary.KeysDictionary.ValuesDocumentDocument.SetPropertiesDropBoxSignDropBoxSign.ConnectionFileFile.CopyFile.CopyOutputFilesFile.Csv.CellFile.Csv.RowFile.Csv.RowCountFile.Csv.TableFile.EmbedFile.ExecuteFile.ExistsFile.ImageFile.InsertFile.ListFile.LoadListFile.LoadObjectFile.LoadStringFile.LoadVariablesFile.SaveObjectFile.Xlsx.CellFile.Xlsx.RowFile.Xlsx.RowCountFile.Xlsx.TableFunctionFunction.CallFunction.DefineGoogleGoogle.ConnectionGoogle.TableGraphGraph.AddDataGraph.DeleteDataGraph.RenameDataGraph.UpdateGravatarGravatar.ImageHaloPsaHaloPsa.ConnectionHaloPsa.ListHighlightHighlight.BearerSummaryHighlight.BroadbandSummaryHighlight.CellularSummaryHighlight.ConnectionHighlight.FolderListHighlight.HttpServerPerformanceSummaryHighlight.IcmpTcpUdpPerformanceSummaryHighlight.MosPerformanceSummaryHighlight.PrecisionPerformanceSummaryHighlight.TunnelSummaryHighlight.WatchNodeListHighlight.WirelessAccessPointSummaryHubSpotHubSpot.ListHubSpot.PropertyHubSpot.QueryJarrayJarray.TableJiraJira.AttachmentImageJira.AttachmentListJira.AttachmentPropertyJira.ConnectionJira.GraphJira.InsertMarkupJira.IssueAnalysisJira.IssueCommentListJira.IssueCommentPropertyJira.IssueLastCommentPropertyJira.IssueListJira.IssuePropertyJira.IssueResponseTimeJira.LastImageJira.StatusListJira.TableJira.TimeInStateJira.UserListJira.UserPropertyJsonJson.ItemJson.ListKrokiKroki.ImageListList.AddList.AnalysisList.ComplementList.CountList.DequeueList.DuplicatesList.FirstList.GraphList.GroupByList.IndicesOfList.IntersectionList.ItemList.RangeList.SelectList.SelectColumnsList.SortList.SummaryValueList.TableList.UnionList.WhereLogicMonitorLogicMonitor.AccountPropertyLogicMonitor.AlertAnalysisLogicMonitor.AlertCalendarLogicMonitor.AlertCountLogicMonitor.AlertListLogicMonitor.AlertMapLogicMonitor.AlertPropertyLogicMonitor.AlertRuleListLogicMonitor.AlertRulePropertyLogicMonitor.AlertStatusLogicMonitor.AlertTableLogicMonitor.AppliesToFunctionListLogicMonitor.AppliesToFunctionPropertyLogicMonitor.AppliesToListLogicMonitor.AuditEventAnalysisLogicMonitor.BigNumberWidgetValuesLogicMonitor.ClearCacheLogicMonitor.CollectorExecuteLogicMonitor.CollectorGroupListLogicMonitor.CollectorGroupPropertyLogicMonitor.CollectorListLogicMonitor.CollectorPropertyLogicMonitor.CollectorVersionListLogicMonitor.CollectorVersionPropertyLogicMonitor.ConfigCheckListLogicMonitor.ConfigCheckPropertyLogicMonitor.ConfigSourceGroupListLogicMonitor.ConfigSourceListLogicMonitor.ConfigSourcePropertyLogicMonitor.ConfigSourceXmlLogicMonitor.ConnectionLogicMonitor.ConnectionApiTokenLogicMonitor.ConvertToLiveWidgetLogicMonitor.DashboardLogicMonitor.DashboardGroupListLogicMonitor.DashboardGroupPropertyLogicMonitor.DashboardListLogicMonitor.DashboardPropertyLogicMonitor.DashboardWidgetListLogicMonitor.DatamartSyncLogicMonitor.DataPointListLogicMonitor.DataPointPropertyLogicMonitor.DataSourceGraphListLogicMonitor.DataSourceGraphPropertyLogicMonitor.DataSourceGroupListLogicMonitor.DataSourceListLogicMonitor.DataSourcePropertyLogicMonitor.DataSourceXmlLogicMonitor.DeviceConfigSourceFileLogicMonitor.DeviceConfigSourceInstanceListLogicMonitor.DeviceConfigSourceListLogicMonitor.DeviceConfigSourcePropertyLogicMonitor.DeviceCountLogicMonitor.DeviceDataSourceListLogicMonitor.DeviceDataSourcePropertyLogicMonitor.DeviceGroupListLogicMonitor.DeviceGroupPropertyLogicMonitor.DeviceListLogicMonitor.DevicePropertyLogicMonitor.DeviceSlaWidgetPropertyLogicMonitor.DeviceTableLogicMonitor.EscalationChainDestinationListLogicMonitor.EscalationChainDestinationPropertyLogicMonitor.EscalationChainListLogicMonitor.EscalationChainPropertyLogicMonitor.EventSourceFilterListLogicMonitor.EventSourceFilterPropertyLogicMonitor.EventSourceGroupListLogicMonitor.EventSourceListLogicMonitor.EventSourcePropertyLogicMonitor.EventSourceXmlLogicMonitor.FinancialInformationLogicMonitor.ForecastLogicMonitor.GraphLogicMonitor.GraphSpecificationLogicMonitor.HistoricSdtListLogicMonitor.ImageLogicMonitor.InstanceAnalysisLogicMonitor.InstanceCountLogicMonitor.InstanceDetailsTableLogicMonitor.InstanceGroupCountLogicMonitor.InstanceGroupListLogicMonitor.InstanceListLogicMonitor.InstancePropertyLogicMonitor.IntegrationListLogicMonitor.IntegrationPropertyLogicMonitor.JobMonitorListLogicMonitor.JobMonitorPropertyLogicMonitor.LastMeasurementLogicMonitor.LogAnalysisLogicMonitor.LogicModuleMetadataPropertyLogicMonitor.LogicModuleUpdateListLogicMonitor.LogicModuleUpdatePropertyLogicMonitor.LogItemListLogicMonitor.NetscanGroupListLogicMonitor.NetscanGroupPropertyLogicMonitor.NetscanListLogicMonitor.NetscanPropertyLogicMonitor.NewUserMessagePropertyLogicMonitor.PaymentInformationLogicMonitor.PercentageAvailabilityLogicMonitor.PortalVersionLogicMonitor.PropertySourceGroupListLogicMonitor.PropertySourceJsonLogicMonitor.PropertySourceListLogicMonitor.PropertySourcePropertyLogicMonitor.QueryLogicMonitor.RecipientGroupListLogicMonitor.RecipientGroupPropertyLogicMonitor.RecycleBinItemListLogicMonitor.RecycleBinItemPropertyLogicMonitor.ReportGroupListLogicMonitor.ReportGroupPropertyLogicMonitor.ReportListLogicMonitor.ReportPropertyLogicMonitor.ResourceAnalysisLogicMonitor.ResourceGroupAnalysisLogicMonitor.RoleListLogicMonitor.RolePropertyLogicMonitor.SdtListLogicMonitor.SdtPercentageLogicMonitor.SdtPropertyLogicMonitor.SingleSignOnPropertyLogicMonitor.SlaWidgetValuesLogicMonitor.SnmpSysOidMapListLogicMonitor.SnmpSysOidMapPropertyLogicMonitor.SummaryValueLogicMonitor.SummaryValueListLogicMonitor.ThresholdLogicMonitor.TrafficTableLogicMonitor.UnmonitoredDeviceListLogicMonitor.UnmonitoredDevicePropertyLogicMonitor.UserApiTokenListLogicMonitor.UserApiTokenPropertyLogicMonitor.UserListLogicMonitor.UserPropertyLogicMonitor.WebsiteCheckpointDataListLogicMonitor.WebsiteCountLogicMonitor.WebsiteGroupAnalysisLogicMonitor.WebsiteGroupCountLogicMonitor.WebsiteGroupListLogicMonitor.WebsiteGroupPropertyLogicMonitor.WebsiteListLogicMonitor.WebsitePropertyLogicMonitor.WidgetStatusMagicSuiteMagicSuite.ApplyBrandMagicSuite.BadgeListMagicSuite.ConnectionMagicSuite.ConnectionListMagicSuite.ConnectionPropertyMagicSuite.ConnectionStatusPropertyMagicSuite.FeedbackListMagicSuite.FeedbackPropertyMagicSuite.GlobalSettingPropertyMagicSuite.MacroGroupListMagicSuite.MacroHelpMagicSuite.MacroListMagicSuite.ReportBatchJobCountMagicSuite.ReportBatchJobListMagicSuite.ReportBatchJobPropertyMagicSuite.ReportConnectionSummaryMagicSuite.ReportJobCountMagicSuite.ReportJobListMagicSuite.ReportJobPropertyMagicSuite.ReportMacroCountMagicSuite.ReportPropertyMagicSuite.ReportScheduleCountMagicSuite.ReportScheduleListMagicSuite.ReportSchedulePropertyMagicSuite.SetReportPropertyMagicSuite.SubscriptionListMagicSuite.SystemPropertyMagicSuite.TenantImageMagicSuite.TopicHelpMagicSuite.VersionMerakiMeraki.CameraImageMeraki.ConfigurationChangeListMeraki.ConnectionMeraki.DevicePropertyMeraki.DeviceUplinkPropertyMeraki.EndOfLifeMeraki.NetworkClientListMeraki.NetworkDeviceListMeraki.NetworkEventListMeraki.NetworkListMeraki.NetworkPropertyMeraki.NetworkSwitchPortsListMeraki.NetworkSwitchStackListMeraki.OrganizationDeviceLicenseListMeraki.OrganizationDeviceLicensePropertyMeraki.OrganizationDeviceListMeraki.OrganizationDeviceListStatusPropertyMeraki.OrganizationInventoryListMeraki.OrganizationLicenseStatePropertyMeraki.OrganizationListMeraki.OrganizationPropertyMeraki.OrganizationUplinkUsageMeraki.WirelessNetworkClientConnectionStatsPropertyMeraki.WirelessNetworkClientLatencyListMeraki.WirelessNetworkClientsConnectionStatsListMeraki.WirelessNetworkClientsLatencyListMeraki.WirelessNetworkConnectionStatsPropertyMeraki.WirelessNetworkDeviceConnectionStatsPropertyMeraki.WirelessNetworkDeviceLatencyListMeraki.WirelessNetworkDevicesConnectionStatsListMeraki.WirelessNetworkDevicesLatencyListMeraki.WirelessNetworkLatencyListMicrosoftDataverseMicrosoftDataverse.ConnectionMicrosoftDataverse.CountMicrosoftDataverse.EntityDefinitionsListMicrosoftDataverse.EntityListMicrosoftDataverse.EntityPropertyListMicrosoftDataverse.ListMicrosoftDataverse.PropertyMicrosoftGraphMicrosoftGraph.ConnectionMicrosoftGraph.QueryObjectObject.ArrayCountObject.GraphObject.PropertyObject.TypeObject.UnpackObject.UnpackVariablesOpenAiOpenAi.AnswerOpenAi.CompleteOpenAi.ConnectionOpenAi.ImageQuickBooksQuickBooks.ConnectionQuickBooks.PropertySalesforceSalesforce.ConnectionSalesforce.ListSalesforce.PropertyServiceNowServiceNow.ConnectionServiceNow.CountServiceNow.CreateServiceNow.DeleteServiceNow.DictionaryServiceNow.ListServiceNow.PropertyServiceNow.UpdateShapeShape.AddShape.CloneShape.DeleteShape.FormatShape.HideShape.SetPropertyShape.SetTextSideroLabsOmniSideroLabsOmni.ConnectionSideroLabsOmni.ListSideroLabsOmni.ObjectSlackSlack.ConnectionSlack.MessageSlideSlide.DeleteSlide.DeleteSectionSlide.LinkSlide.MoveToSlide.RepeatSmtpSmtp.ConnectionSnmpSnmp.EnterprisePropertySolarWindsSolarWinds.ConnectionSolarWinds.SqlListSolarWinds.SqlTableSolarWindsServiceDeskSolarWindsServiceDesk.ConnectionSolarWindsServiceDesk.ListSolarWindsServiceDesk.PropertySqlSql.AnalysisTableTable.ColumnCountTable.DeleteTable.FormatTable.GraphTable.MergeCellsTable.MergeRowsTable.RowCountTable.SaveTable.SortTable.WorldMapTimeCalendarCronHumanReadableCronRunDateDateRangeDateTimeDateTime.IsInWorkHoursDateTime.WorkHoursDurationTimeSpanTogglToggl.ClientListToggl.ClientPropertyToggl.ConnectionToggl.ProjectListToggl.ProjectPropertyToggl.ProjectReportPropertyToggl.TimeEntryListToggl.TimeEntryPropertyToggl.UserListToggl.UserPropertyToggl.WorkspaceListToggl.WorkspacePropertyTwilioTwilio.ConnectionTwilio.SmsUkParliamentUkParliament.PetitionCountUkParliament.PetitionListUkParliament.PetitionPropertyVariableVariable.ImageVariable.ListVariable.PropertyWebWeb.ConnectionWeb.HtmlWeb.ImageWeb.QueryWeb.ScreenshotWeb.TableWeb.TextXlsxXlsx.AddAnalysisXlsx.EmbedZendeskZendesk.ConnectionZendesk.ListZendesk.PropertyZoho.DeskZoho.Desk.ZohoListZoho.Desk.ZohoProperty
[List.Graph:]

Displays list data in chart form.


Compatibility

The macro can be used in all input document types and in Report Studio.


Usage

For most chart types, the first column will be used as the X-Axis, following columns are values to graph and will represent one or more series on the Y-Axis and should be numeric; nulls are treated as gaps in the data.For Pie and Doughnut chart types, the first column provides the slice name, the second column the slice size and all other columns are ignored. Note that these two types chart types do not support a header row.


Parameters (166)
Mandatory (1)
Parameter TypePurpose Options Default
values
List<Object>The data to convert into a table in the form: HEADER_ROW;DATA_ROW_1;DATA_ROW_2. Each row is in the form: Cell_1^Cell_2^Cell...^Cell_N. Limitations: 1) Cells may not currently contain semicolons or carats. 2) Each row should have the same number of cells. 3) Additional cells per row are ignored. 4) If too few rows are specified, a blank cell is inserted. 5) Infinity values are not permitted and will cause a macro error, unless you use format=AllStrings. In Normal mode, you may use a 'table' (list of lists) as input. See the examples for usage. N/A N/A
Behaviour (5)
Parameter TypePresencePurpose Options Default
errorOnOverflow
BooleanOptionalShould NCalc expression evaluation throw error on Overflow
  • true
  • false
true
if
StringOptionalThe condition that must be true in order for the macro to be executed/evaluated. Must either evaluate to true or false, for example: "3+5=8" or "contains('abcd', 'z'). N/A true
mode
MacroModeOptionalThe mode in which variables are stored. In the legacy mode (default for Schedules), the variable created is a string and formatted. In the normal mode (default for Report Studio), the output variable is stored as a strongly-typed theObject, e.g. an Int32 or a List etc., rather than a formatted string.
  • Legacy
  • Normal
Legacy
obfuscation
ObfuscationTypeOptionalObfuscation type. Use obfuscation to write reports where sensitive data is hidden. When used, ReportMagic guarantees that the same input string will map to the same output string for the whole of the report (but the next time the report runs, it will most likely map to a different value). If you use obfuscation, the property in your macro will not show up and instead, you will see a fake item of the obfuscation type chosen.
  • None
  • UkTown
  • DeviceName
  • Company
  • IpAddress
  • PrivateIpAddress
None
warning
StringOptionalIf specified, adds a warning message for this macro. This is processed as an NCalc, and the warning message will ALWAYS be present and will be the value of the evaluated NCalc expression. N/A N/A
Colours (4)
Parameter TypePresencePurpose Options Default
customPaletteHexCodes
StringConditionalWhen the 'overridePaletteType' parameter is set to 'Custom', you must specify a semi-colon separated list of HTML-style hex codes (or HTML colour names such as red), e.g. #FF0000;#00FF00;#0000FF (with or without the hash) to use as a custom override palette, which will apply to each line series plotted. This parameter is ignored unless you use 'overridePaletteType=Custom'. N/A N/A
labelBackgroundColor
ColorOptionalThe label background color N/A
labelColor
ColorOptionalThe label color N/A
palette
List<String>OptionalA list of html-encoded (hex codes) colours for each series separated by ^ for the series name and colour, and semicolons for each series (see examples below). If not specified, a default Microsoft palette will be used. The 'OverridePaletteType' parameter will, if set, override this parameter. N/A Yes^#0d0;​No^#d00;​True^#0d0;​False^#d00;​OK^#0d0;​Error^#d00;​Unknown^#ddd
Formatting (18)
Parameter TypePresencePurpose Options Default
imageHeightCm
DoubleConditionalThe image height in centimetres (cm). If this is set, so should 'imageWidthCm' be. For Word output, this is equivalent to setting an absolute height in cm without locking the aspect ratio. N/A N/A
imageWidthCm
DoubleConditionalThe image width in centimetres. If this is set, so should 'imageHeightCm' be. For Word output, this is equivalent to setting an absolute with in cm without locking the aspect ratio. N/A N/A
clipBottom
DoubleOptionalThe number of pixels to clip from the bottom of the image. In PowerPoint, you must manually set the 'chartImageFormat' parameter to either Png or Jpeg, e.g. chartImageFormat=Png N/A N/A
clipLeft
DoubleOptionalThe number of pixels to clip from the left of the image. In PowerPoint, you must manually set the 'chartImageFormat' parameter to either Png or Jpeg, e.g. chartImageFormat=Png N/A N/A
clipRight
DoubleOptionalThe number of pixels to clip from the right of the image. In PowerPoint, you must manually set the 'chartImageFormat' parameter to either Png or Jpeg, e.g. chartImageFormat=Png N/A N/A
clipTop
DoubleOptionalThe number of pixels to clip from the top of the image. In PowerPoint, you must manually set the 'chartImageFormat' parameter to either Png or Jpeg, e.g. chartImageFormat=Png N/A N/A
hAlign
PowerPointImageHorizontalAlignOptionalFor PowerPoint output only, the ability to horizontally align images produced by macros, with vertical lines. No other image parameters apply (clipping, etc.). Does not work with the default Emf image formats, so using this parameter uses the default Png format instead.
  • Center
  • Left
  • Right
N/A
horizontalPositionAlignment
HorizontalPositionAlignmentOptionalThe horizontal position alignment.
  • Left
  • Inline
  • Center
  • Right
  • Inside
  • Outside
Left
horizontalPositionRelativeTo
HorizontalPositionRelativeToOptionalWhat the horizontal position is relative to.
  • Inline
  • Margin
  • Column
  • Page
  • InsideMargin
  • OutsideMargin
  • LeftMargin
  • RightMargin
Inline
opacityPercent
DoubleOptionalThe image opacity (0 is transparent, 100 is solid).
  • From 0 to 100
100
pageHeightPercent
DoubleOptionalThe height of the page to take up with the graph. Always overrides 'imageHeightCm'
  • From 0 to 300
N/A
pageWidthPercent
DoubleOptionalThe width of the page to take up with the graph. Always overrides 'imageWidthCm'
  • From 0 to 300
N/A
titleHeadingLevel
Int32OptionalThe title heading level. Don't specify if no heading is required. N/A N/A
vAlign
PowerPointImageVerticalAlignOptionalFor PowerPoint output only, the ability to vertically align images produced by macros, with horizontal lines. No other image parameters apply (clipping, etc.). Does not work with the default Emf image formats, so using this parameter uses the default Png format instead.
  • Bottom
  • Middle
  • Top
N/A
verticalPositionAlignment
VerticalPositionAlignmentOptionalThe Vertical position alignment.
  • Top
  • Inline
  • Center
  • Bottom
  • Inside
  • Outside
Top
verticalPositionRelativeTo
VerticalPositionRelativeToOptionalWhat the vertical position is relative to.
  • Inline
  • Page
  • Paragraph
  • Margin
  • BottomMargin
  • InsideMargin
  • OutsideMargin
  • TopMargin
Inline
wrapping
WrappingOptionalImage wrapping.
  • Inline
  • BehindText
Inline
xlsxTableStyle
XlsxTableStyleOptionalThe XLSX table style to use in any XLSX output document.
  • TableStyleMedium13
  • None
  • TableStyleDark1
  • TableStyleDark10
  • TableStyleDark11
  • TableStyleDark2
  • TableStyleDark3
  • TableStyleDark4
  • TableStyleDark5
  • TableStyleDark6
  • TableStyleDark7
  • TableStyleDark8
  • TableStyleDark9
  • TableStyleLight1
  • TableStyleLight10
  • TableStyleLight11
  • TableStyleLight12
  • TableStyleLight13
  • TableStyleLight14
  • TableStyleLight15
  • TableStyleLight16
  • TableStyleLight17
  • TableStyleLight18
  • TableStyleLight19
  • TableStyleLight2
  • TableStyleLight20
  • TableStyleLight21
  • TableStyleLight3
  • TableStyleLight4
  • TableStyleLight5
  • TableStyleLight6
  • TableStyleLight7
  • TableStyleLight8
  • TableStyleLight9
  • TableStyleMedium1
  • TableStyleMedium10
  • TableStyleMedium11
  • TableStyleMedium12
  • TableStyleMedium14
  • TableStyleMedium15
  • TableStyleMedium16
  • TableStyleMedium17
  • TableStyleMedium18
  • TableStyleMedium19
  • TableStyleMedium2
  • TableStyleMedium20
  • TableStyleMedium21
  • TableStyleMedium22
  • TableStyleMedium23
  • TableStyleMedium24
  • TableStyleMedium25
  • TableStyleMedium26
  • TableStyleMedium27
  • TableStyleMedium28
  • TableStyleMedium3
  • TableStyleMedium4
  • TableStyleMedium5
  • TableStyleMedium6
  • TableStyleMedium7
  • TableStyleMedium8
  • TableStyleMedium9
TableStyleMedium13
Chart (116)
Parameter TypePresencePurpose Options Default
chartTypes
List<String>ConditionalThe type(s) of chart. You can specify more than one (separated by a semi-colon). If you specify fewer than the number of series, the last value will continue to be used for the remainder of the series. Permitted values: Point, FastPoint, Line, Spline, StepLine, FastLine, Bar, StackedBar, StackedBar100, Column, StackedColumn, StackedColumn100, Area, SplineArea, StackedArea, StackedArea100, Pie, Doughnut, Radar, Polar, BoxPlot, Funnel, Pyramid. For Pie and Doughnut chart types, the first column provides the slice name, the second column the slice size and all other columns are ignored. N/A N/A
xAxisTitle
StringConditionalSet the X Axis Label to the provided text. Required for all chartTypes, except 'Pie' and 'Doughnut'. N/A N/A
yAxisTitle
StringConditionalSet the Y Axis Label to the provided text. Required for all chartTypes, except 'Pie' and 'Doughnut'. N/A N/A
autoScaleYAxisLabels
BooleanOptionalWhether to use short (auto-scaled) labels in Y-axes (e.g. 10K instead of 10000). Only has an effect when the 'yAxisLabelFormat' parameter is NOT set.
  • true
  • false
true
autoScaleYAxisLabelsAreData
BooleanOptionalWhether the short (auto-scaled) labels in Y-axes represent 'data'. In that case these labels are used: B, KB, MB, GB, and TB. When not representing data, the labels used are: K (thousands), M (millions), B (billions), and T (trillions). Only has an effect when 'autoScaleYAxisLabels' is true (the default for that parameter), otherwise ignored.
  • true
  • false
false
chartAreaBackgroundColor
ColorOptionalThe chart area background color N/A
chartAreaHeightPercent
Int32OptionalThe ChartAreaHeightPercent
  • From 0 to 100
100
chartAreaWidthPercent
Int32OptionalThe ChartAreaWidthPercent
  • From 0 to 100
80
chartAreaXPosition
Int32OptionalThe ChartAreaXPosition
  • From 0 to 100
0
chartAreaYPosition
Int32OptionalThe ChartAreaYPosition
  • From 0 to 100
0
chartBackgroundColor
ColorOptionalThe chart background color N/A
chartBorderLineColor
ColorOptionalThe chart border line color Color [Black]
chartBorderLineDashStyle
ChartDashStyleOptionalThe chart border line dash style
  • Solid
  • NotSet
  • Dash
  • DashDot
  • DashDotDot
  • Dot
Solid
chartBorderLineWidth
Int32OptionalThe chart border line width N/A 0
chartHeight
Int32OptionalThe chart height in pixels
  • From 1 to 8000
400
chartImageFormat
ChartImageFormatOptionalThe chart image format
  • EmfPlus
  • Jpeg
  • Png
  • Bmp
  • Tiff
  • Gif
  • Emf
  • EmfDual
EmfPlus
chartWidth
Int32OptionalThe chart width in pixels
  • From 1 to 8000
2560
doughnutRadius
Int32OptionalOptionally use to specify the doughnut radius when specifying 'chartType=Doughnut'.
  • From 0 to 99
60
dynamicYAxis
BooleanOptionalWhether to more closely show the y-axis variance on charts. Use the 'dynamicYAxisVariancePercent' parameter to control the variance percentage. When set, the 'yAxisMinimum' and 'yAxisMaximum' parameters are ignored. When this parameter is set, the 'yAxisIsLogarithmic' parameter is ignored.Note: when the minimum data value is 0, the y-axis minimum is NOT adjusted.
  • true
  • false
false
dynamicYAxisVariancePercent
DoubleOptionalThe variance percentage to use in conjunction with the 'dynamicYAxis' parameter to adjust the y-axis scale. For example, if the maximum y-axis data value was 10 and this parameter was set to 5, then the y-axis maximum is set to 10 + (5% of 10), which is 10.5. When this parameter and 'dynamicYAxis' is set, the 'yAxisMinimum' and 'yAxisMaximum' parameters are ignored.When this parameter and 'dynamicYAxis' is set, the 'yAxisIsLogarithmic' parameter is ignored. NOTE: final y-axis minimum and maximum values will be rounded to the nearest integer (whole number)
  • From 0 to 100
1.5
enable3d
BooleanOptionalWhether to enable 3D.
  • true
  • false
false
ensureColorsUnique
BooleanOptionalWhether to ensure the colours of all series in the chart are unique. Note that unique colours are still selected if no palette is provided for any series.
  • true
  • false
false
fixedLines
List<FixedLine>OptionalThe semicolon-delimited list of lines of fixed y-value to add to the graph. Each should be in the format "name^value^color", e.g. fixedLines=Lower95th^10^Red;Mean^50^Blue;Upper95th^90^Red N/A N/A
inclination3dDegrees
Int32OptionalThe inclination in degrees. Only valid when enable3d is set to true.
  • From -90 to 90
50
innerPlotHeightPercent
Int32OptionalThe InnerPlotHeightPercent
  • From 0 to 100
75
innerPlotWidthPercent
Int32OptionalThe InnerPlotWidthPercent
  • From 0 to 100
85
innerPlotXPosition
Int32OptionalThe InnerPlotXPosition
  • From 0 to 100
10
innerPlotYPosition
Int32OptionalThe InnerPlotYPosition
  • From 0 to 100
10
labelFontSize
DoubleOptionalSet the chart label font size.
  • From 5 to 100
16
labels
List<String>OptionalOptionally use to specify labels to add to the chart, formatted as: text^X^Y^alignment^font^fontSize^fontStyle^fontColor. Supported fonts are: 'Arial, Calibri, Comic Sans MS, and Ms Sans Serif'. Supported fontStyles are 'Regular, Bold, Italic, Underline, Strikeout'. Supported alignments are TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, BottomRight. Font colours can be named fonts (such as Red) or hex-based colours (ARGB or RGB-formatted such as #FF0000 or #FFFF0000 for red). Note that alpha component is optional. N/A N/A
labelText
StringOptionalOptionally use to specify the label text. Options include #PERCENT{P0} (e.g. for Pie/doughnut charts), #VALX and #VALY. The {P-number} specifies the number of decimal places to display. You can combine these and other symbols (e.g. '#VALX\n(#PERCENT %)' ). N/A N/A
legendBackgroundColor
ColorOptionalThe legend background color N/A
legendBorderColor
ColorOptionalThe legend border color N/A
legendFontSize
DoubleOptionalSet the chart legend font size (default autofit).
  • From 5 to 100
20
legendHeightPercent
Int32OptionalThe LegendHeightPercent
  • From 0 to 100
100
legendStyle
LegendStyleOptionalThe legend style
  • Column
  • Row
  • Table
Column
legendText
StringOptionalOptionally use to specify the label legend text. For other options, see the labelText parameter. N/A N/A
legendTextWrapThreshold
Int32OptionalThe number of characters that can be placed in a legend item before text wrapping occurs. Wrapping uses a 'word-break' method, so if the legend names do NOT contain spaces, no wrapping will occur.
  • From 0 to 2147483647
25
legendWidthPercent
Int32OptionalThe LegendWidthPercent
  • From 0 to 100
20
legendXPosition
Int32OptionalThe LegendXPosition
  • From 0 to 100
80
legendYPosition
Int32OptionalThe LegendYPosition
  • From 0 to 100
0
lineWidth
Int32OptionalThe line width
  • From 1 to 10
2
markerBorderColors
List<Color>OptionalSet the border color(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerBorderWidths
List<Int32>OptionalSet the border width(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerColors
List<Color>OptionalSet the color(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerSizes
List<Int32>OptionalSet the size(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerStyles
List<MarkerStyle>OptionalSet the marker style(s) (for example, on line charts) If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
orderAreaChartSeriesByMean
BooleanOptionalFor charts where all the series are areas (not stacked), order the series according to the mean y-axis values (largest first, descending). This is useful for charts where, depending on the data, 'larger' series would be rendered in front of smaller ones, thereby obscuring them in the chart.
  • true
  • false
false
overridePaletteType
OverridePaletteTypeOptionalForce series colours to use various alternative palettes. Overrides all other settings such as 'EnsureColorsUnique'. When there are more series than the count of colours in each palette, the colours chosen will start again from the beginning of the palette. This parameter is useful for series where there are no colours set (or set to 'Auto' in LogicMonitor Widget graphs, for example).
  • Default
  • Custom
  • LogicMonitor
  • RainbowStandard
  • RainbowExtended
Default
perspective3dPercent
Int32OptionalThe perspective in percent. Only valid when enable3d is set to true.
  • From 0 to 100
0
pieCollectedColor
ColorOptionalOptionally use to specify the color of the collected ('other') pie slice. Color [LightGray]
pieCollectedLabel
StringOptionalOptionally use to specify the label for the collected ('other') pie slice. N/A Other
pieCollectedThresholdPercent
DoubleOptionalOptionally use to specify the percentage threshold for the collected ('other') pie slice.
  • From 0 to 100
5
pieLabelStyle
PieLabelStyleOptionalOptionally use to specify the doughnut label style when specifying 'chartType=Doughnut' or 'chartType=Pie'.
  • Inside
  • Outside
  • Disabled
Inside
pieLineColor
ColorOptionalOptionally use to specify the pie or doughnut line color when using 'pieLabelStyle=Outside'. Color [LightGray]
pieStartAngleDegrees
Int32OptionalOptionally use to specify the pie or doughnut start angle in degrees from the top.
  • From 0 to 359
0
pointDepth3dPercent
Int32OptionalThe point depth as a percentage. Only valid when enable3d is set to true.
  • From 0 to 1000
100
pointGapDepth3dPercent
Int32OptionalThe point gap depth as a percentage. Only valid when enable3d is set to true.
  • From 0 to 1000
100
pointWidthPercent
DoubleOptionalFor Bar and Column series only, the gap between each item as a percentage (0 - 100) of the available space. If not set, the default of 80% is used.
  • From 0 to 100
N/A
rotation3dDegrees
Int32OptionalThe rotation in degrees. Only valid when enable3d is set to true.
  • From -90 to 90
30
useChartMagic
BooleanOptionalWhether to use ChartMagic (experimental)
  • true
  • false
false
xAxisFontColor
ColorOptionalOptionally use to specify the x axis font color. Color [Black]
xAxisFontSize
DoubleOptionalSet the chart x-axis font size (default autofit).
  • From 5 to 100
20
xAxisHeightPercent
DoubleOptionalSet the chart's maximum x-axis height as a percent of the chart area. By default, an automatic choice is made. This is used by the automatic layout algorithm and means that this height value may NOT be used, if unnecessary, so represents the 'maximum auto-size'.
  • From 0 to 90
N/A
xAxisInterval
DoubleOptionalThe x-axis interval. Only works for whole numbers such as 1, 2, etc. (unpredictable results otherwise). N/A N/A
xAxisIntervalAutoMode
IntervalAutoModeOptionalOptionally use to specify the x axis's interval auto mode.
  • FixedCount
  • VariableCount
FixedCount
xAxisIntervalType
DateTimeIntervalTypeOptionalOptionally use to specify the x axis's interval type. The 'xAxisInterval' parameter is ignored when this parameter is 'Auto' (the default). It is recommended that if you know the type of the date-oriented x-axis (such as months) then you set this parameter accordingly e.g. xAxisIntervalType=Months, and xAxisInterval=1 (to display each month on the x-axis).
  • Auto
  • Number
  • Years
  • Months
  • Weeks
  • Days
  • Hours
  • Minutes
  • Seconds
  • Milliseconds
  • NotSet
Auto
xAxisIsAutoFit
BooleanOptionalWhether the x axis's labels are automatically fitted.
  • true
  • false
true
xAxisIsMarginVisible
BooleanOptionalOverrides the default x-axis auto margin (which is true by default EXCEPT when there's an empty graph with 2 data points, e.g. a start and an end date). The auto margin extends the x-axis by the equivalent of 1 data point either side of the data, typically leaving a small gap between both interior sides of the axis and the data. Note that in the case of an EMPTY graph (no y-values, but where there is a date / data range), this can lead to an additional month each side of the axis, which may not be what you want to achieve. ReportMagic in this case AUTOMATICALLY disables the margins to produce the 'expected' x-axis range, hence why you may want to force this to true in case you do want the margins.
  • true
  • false
N/A
xAxisLabelAngle
Int32OptionalOptionally use to specify the x axis's label angle.
  • From -90 to 90
0
xAxisLabelAutoFitStyle
LabelAutoFitStylesOptionalOptionally use to specify the X Axis label autofit style.
  • DecreaseFont
  • None
  • IncreaseFont
  • StaggeredLabels
  • LabelsAngleStep30
  • LabelsAngleStep45
  • LabelsAngleStep90
  • WordWrap
DecreaseFont
xAxisLabelFormat
StringOptionalThe X Axis label format. See https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings for more details. N/A yyyy-MM-dd
xAxisLineColor
ColorOptionalThe x axis line color. N/A
xAxisLineDashStyle
ChartDashStyleOptionalThe x axis line dash style
  • Solid
  • NotSet
  • Dash
  • DashDot
  • DashDotDot
  • Dot
Solid
xAxisLineWidth
Int32OptionalThe x axis line width. N/A N/A
xAxisMajorGridEnabled
BooleanOptionalWhether the X-axis major grid is enabled.
  • true
  • false
true
xAxisMajorGridInterval
DoubleOptionalA number - if specified, you must also specify xAxisMajorGridIntervalType.
  • From 0 to 100
N/A
xAxisMajorGridIntervalType
DateTimeIntervalTypeOptionalThe major x-axis grid interval type.
  • Auto
  • Days
  • Hours
  • Milliseconds
  • Minutes
  • Months
  • NotSet
  • Number
  • Seconds
  • Weeks
  • Years
N/A
xAxisMajorGridLineColor
ColorOptionalOptionally specify a color for the x-axis major grid lines. If not specified, the default of Black is used. N/A
xAxisMajorGridLineDashStyle
ChartDashStyleOptionalOptionally specify a dash style for the x-axis major grid lines. If not specified, the default of Solid is used.
  • Dash
  • DashDot
  • DashDotDot
  • Dot
  • NotSet
  • Solid
N/A
xAxisMajorGridLineWidth
Int32OptionalOptionally specify a width in pixels for the x-axis major grid lines. If not specified, the default of 1 is used. N/A N/A
xAxisMinorGridEnabled
BooleanOptionalWhether the X-axis Minor grid is enabled
  • true
  • false
true
xAxisMinorGridInterval
DoubleOptionalA number - (if specified, you must also specify xAxisMinorGridIntervalType)
  • From 0 to 100
N/A
xAxisMinorGridIntervalType
DateTimeIntervalTypeOptionalThe Minor x-axis grid interval type.
  • Auto
  • Days
  • Hours
  • Milliseconds
  • Minutes
  • Months
  • NotSet
  • Number
  • Seconds
  • Weeks
  • Years
N/A
xAxisMinorGridLineColor
ColorOptionalOptionally specify a color for the x-axis minor grid lines. If not specified, the default of LightGray is used. N/A
xAxisMinorGridLineDashStyle
ChartDashStyleOptionalOptionally specify a dash style for the x-axis minor grid lines. If not specified, the default of Solid is used.
  • Dash
  • DashDot
  • DashDotDot
  • Dot
  • NotSet
  • Solid
N/A
xAxisMinorGridLineWidth
Int32OptionalOptionally specify a width in pixels for the x-axis minor grid lines. If not specified, the default of 1 is used. N/A N/A
xValueType
ChartValueTypeOptionalThe x value type. You can set this to 'String' which will disable the 'Auto' mode for the 'xAxisIntervalType' parameter.
  • DateTime
  • Auto
  • Double
  • Single
  • Int32
  • Int64
  • UInt32
  • UInt64
  • String
  • Date
  • Time
  • DateTimeOffset
DateTime
yAxisFontColor
ColorOptionalOptionally use to specify the y axis font color. Color [Black]
yAxisFontSize
DoubleOptionalSet the chart y-axis font size (default autofit).
  • From 5 to 100
20
yAxisInterval
DoubleOptionalThe y-axis interval. Only works for whole numbers such as 1, 2, etc. (unpredictable results otherwise). N/A N/A
yAxisIntervalAutoMode
IntervalAutoModeOptionalOptionally use to specify the y axis's interval auto mode.
  • FixedCount
  • VariableCount
FixedCount
yAxisIntervalType
DateTimeIntervalTypeOptionalOptionally use to specify the y axis's interval type.
  • Auto
  • Number
  • Years
  • Months
  • Weeks
  • Days
  • Hours
  • Minutes
  • Seconds
  • Milliseconds
  • NotSet
Auto
yAxisIsAutoFit
BooleanOptionalWhether the y axis's labels are automatically fitted.
  • true
  • false
true
yAxisIsLogarithmic
BooleanOptionalOptionally use to specify that the Y Axis is logarithmic. Note that any y values of 0 or below will cause an error. You may need to manually adjust the yAxisMinimum parameter. When the 'dynamicYAxis' parameter is set, this parameter is ignored and the axis is forced NOT to be logarithmic.
  • true
  • false
false
yAxisLabelAngle
Int32OptionalOptionally use to specify the y axis's label angle.
  • From -90 to 90
0
yAxisLabelAutoFitStyle
LabelAutoFitStylesOptionalOptionally use to specify the Y Axis label autofit style.
  • DecreaseFont
  • None
  • IncreaseFont
  • StaggeredLabels
  • LabelsAngleStep30
  • LabelsAngleStep45
  • LabelsAngleStep90
  • WordWrap
DecreaseFont
yAxisLabelFormat
StringOptionalThe Y Axis label format. See https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-numeric-format-strings for more details. When this parameter is set, it overrides the 'autoScaleYAxisLabels' parameter (i.e. that one has no effect). N/A N/A
yAxisLineColor
ColorOptionalThe y axis line color. N/A
yAxisLineDashStyle
ChartDashStyleOptionalThe y axis line dash style
  • Solid
  • NotSet
  • Dash
  • DashDot
  • DashDotDot
  • Dot
Solid
yAxisLineWidth
Int32OptionalThe y axis line width. N/A N/A
yAxisMajorGridEnabled
BooleanOptionalWhether the Y-axis major grid is enabled
  • true
  • false
true
yAxisMajorGridInterval
DoubleOptionalA number - (if specified, you must also specify yAxisMajorGridIntervalType)
  • From 0 to 100
N/A
yAxisMajorGridIntervalType
DateTimeIntervalTypeOptionalThe major y-axis grid interval type.
  • Auto
  • Days
  • Hours
  • Milliseconds
  • Minutes
  • Months
  • NotSet
  • Number
  • Seconds
  • Weeks
  • Years
N/A
yAxisMajorGridLineColor
ColorOptionalOptionally specify a color for the y-axis major grid lines. If not specified, the default of Black is used. N/A
yAxisMajorGridLineDashStyle
ChartDashStyleOptionalOptionally specify a dash style for the y-axis major grid lines. If not specified, the default of Solid is used.
  • Dash
  • DashDot
  • DashDotDot
  • Dot
  • NotSet
  • Solid
N/A
yAxisMajorGridLineWidth
Int32OptionalOptionally specify a width in pixels for the y-axis major grid lines. If not specified, the default of 1 is used. N/A N/A
yAxisMaximum
DoubleOptionalSets the Y Axis maximum (default derived from graph data). When both yAxisMinimum and yAxisMaximum are set, if either are not whole numbers, this MAY cause chart data to be rendered incorrectly. N/A N/A
yAxisMinimum
DoubleOptionalSets the Y Axis minimum (default derived from graph data). This value MAY be automatically adjusted when 'yAxisIsLogarithmic=true' and the data contains any 0 values, to avoid chart errors (logarithmic charts may not contain y-axis values of 0 or below). When both yAxisMinimum and yAxisMaximum are set, if either are not whole numbers, this MAY cause chart data to be rendered incorrectly. N/A N/A
yAxisMinorGridEnabled
BooleanOptionalWhether the Y-axis Minor grid is enabled
  • true
  • false
true
yAxisMinorGridInterval
DoubleOptionalA number - (if specified, you must also specify yAxisMinorGridIntervalType)
  • From 0 to 100
N/A
yAxisMinorGridIntervalType
DateTimeIntervalTypeOptionalThe Minor y-axis grid interval type.
  • Auto
  • Days
  • Hours
  • Milliseconds
  • Minutes
  • Months
  • NotSet
  • Number
  • Seconds
  • Weeks
  • Years
N/A
yAxisMinorGridLineColor
ColorOptionalOptionally specify a color for the y-axis minor grid lines. If not specified, the default of LightGray is used. N/A
yAxisMinorGridLineDashStyle
ChartDashStyleOptionalOptionally specify a dash style for the y-axis minor grid lines. If not specified, the default of Solid is used.
  • Dash
  • DashDot
  • DashDotDot
  • Dot
  • NotSet
  • Solid
N/A
yAxisMinorGridLineWidth
Int32OptionalOptionally specify a width in pixels for the y-axis minor grid lines. If not specified, the default of 1 is used. N/A N/A
yAxisWidthPercent
DoubleOptionalSet the chart's maximum y-axis width as a percent of the chart area. By default, an automatic choice is made. This is used by the automatic layout algorithm and means that this height value may NOT be used, if unnecessary, so represents the 'maximum auto-size'.
  • From 0 to 90
N/A
Output (3)2 additional
Parameter TypePresencePurpose Options Default
emptyTableText
StringOptionalThe text for the new tab in the Xlsx document if the table is empty. N/A N/A
storeAsHidden
StringOptionalThe hidden (does not show in document output) variable in which to save the output graph as base64-encoded text. This is useful because the [Variable.Image:] macro can then insert it into any document. The image is generated only once but can then be manipulated repeatedly with a variety of image-related parameters. Note: when this variable is set, the image format will be forced to PNG, i.e. the equivalent of: chartImageFormat=Png. The image is saved without clippingt (i.e. without any clip parameters applied). N/A N/A
writeToSpreadsheet
BooleanOptionalWhether to output the result in the output Excel document (if so configured).
  • true
  • false
true
Additional (2)
Parameter TypePresencePurpose Options Default
failureText
StringOptionalThe text to display should the macro fail to execute. Note that a poorly-specified macro (e.g. omitting mandatory parameters) will still result in an error message. N/A N/A
failureVariable
StringOptionalThe name of a variable to create should the macro fail to execute. The variable will be a text variable, and will contain either the failure text (only if the failureText parameter is set), otherwise it will contain the exception / failure message. N/A N/A
General (4)4 additional
Parameter TypePresencePurpose Options Default
values
List<Object>MandatoryThe data to convert into a table in the form: HEADER_ROW;DATA_ROW_1;DATA_ROW_2. Each row is in the form: Cell_1^Cell_2^Cell...^Cell_N. Limitations: 1) Cells may not currently contain semicolons or carats. 2) Each row should have the same number of cells. 3) Additional cells per row are ignored. 4) If too few rows are specified, a blank cell is inserted. 5) Infinity values are not permitted and will cause a macro error, unless you use format=AllStrings. In Normal mode, you may use a 'table' (list of lists) as input. See the examples for usage. N/A N/A
description
StringOptionalThe description for visually-impaired users. This text also displays when the user hovers the mouse over the image in Word or a PDF viewer. N/A N/A
title
StringOptionalThe image title for visually-impaired users. N/A N/A
worksheetName
StringOptionalThe worksheet to save the result in the output Excel document (if so configured). Excel does not allow blank names, names above 31 characters, and the following characters: :, /, \, ?, *, [, ] N/A Table
Additional (4)
Parameter TypePresencePurpose Options Default
comment
StringOptionalAdd a comment to make your document template more readable. The comment is discarded in the output document. N/A N/A
desiredExecutionResult
ExecutionResultOptionalIf specified, asserts the expected execution result of the macro. The macro executes normally; if the actual result matches the desired value, the result is converted to Success. If the actual result does not match, the result is converted to MacroError with a descriptive message. This is primarily used for testing and diagnostic purposes. Valid values are: Unknown, Success, MacroError, WorkerStopped, Running, Warning, NeverRun, Cancelled, Pending, Paused, SystemError, Deferred, Stopped.
  • Cancelled
  • Deferred
  • MacroError
  • NeverRun
  • Paused
  • Pending
  • Running
  • Stopped
  • Success
  • SystemError
  • Warning
  • WorkerStopped
N/A
expectedType
StringOptionalIf specified, asserts the expected output type of the macro result. The macro executes normally; if the actual type does not match, a macro error is generated. Requires 'storeAs', 'storeAsHidden', or 'storeFormattedValueAs' to be set for typed validation. Valid types include CLR names (e.g. Int32, Int64, Single, Double, Boolean, String, JArray, JObject) and C# keyword aliases (e.g. int, long, float, double, bool, string, uint, ulong, short, ushort, byte, sbyte, decimal, char, object). The special value 'Number' matches any numeric type. N/A N/A
expectedValue
StringOptionalIf specified, asserts the expected output value of the macro result. The macro executes normally; if the actual value does not match, a macro error is generated. When 'storeAs' or 'storeAsHidden' is set, the stored variable value is compared. Otherwise, the document output text is compared. N/A N/A
Deprecated (10)
Parameter TypePreferred ParameterPurpose Options Default
chartType
List<String>chartTypesThe type(s) of chart. You can specify more than one (separated by a semi-colon). If you specify fewer than the number of series, the last value will continue to be used for the remainder of the series. Permitted values: Point, FastPoint, Line, Spline, StepLine, FastLine, Bar, StackedBar, StackedBar100, Column, StackedColumn, StackedColumn100, Area, SplineArea, StackedArea, StackedArea100, Pie, Doughnut, Radar, Polar, BoxPlot, Funnel, Pyramid. For Pie and Doughnut chart types, the first column provides the slice name, the second column the slice size and all other columns are ignored. N/A N/A
xAxisLabel
StringxAxisTitleSet the X Axis Label to the provided text. Required for all chartTypes, except 'Pie' and 'Doughnut'. N/A N/A
yAxisLabel
StringyAxisTitleSet the Y Axis Label to the provided text. Required for all chartTypes, except 'Pie' and 'Doughnut'. N/A N/A
markerBorderColor
List<Color>markerBorderColorsSet the border color(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerBorderWidth
List<Int32>markerBorderWidthsSet the border width(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerColor
List<Color>markerColorsSet the color(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerSize
List<Int32>markerSizesSet the size(s) of the marker (for example, on line charts). If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
markerStyle
List<MarkerStyle>markerStylesSet the marker style(s) (for example, on line charts) If there are fewer values provided than there are series in your graph, the last one is repeated for the remaining series. N/A N/A
pointWidth
DoublepointWidthPercentFor Bar and Column series only, the gap between each item as a percentage (0 - 100) of the available space. If not set, the default of 80% is used.
  • From 0 to 100
N/A
useYAxisShortLabels
BooleanautoScaleYAxisLabelsWhether to use short (auto-scaled) labels in Y-axes (e.g. 10K instead of 10000). Only has an effect when the 'yAxisLabelFormat' parameter is NOT set.
  • true
  • false
true

Examples (8)

Example 1

A mixed column and line chart:

[List.Graph: values=DeviceName^CPU^Memory^Disk^Availability;Device 1^1^2^3^3;Device 2^4^5^6^7;Device 3^5^6^7^8;Device 4^5^6^7^8, chartTypes=Column;Column;Column;Line, yAxisLabel=ASD, chartWidth=1400, chartHeight=700, palette=CPU^#4D0159;Memory^green;Disk^orange;Availability^black, xAxisMinorGridEnabled=false, yAxisMajorGridEnabled=false, xAxisMajorGridEnabled=false, legendWidthPercent=20, labelText=#VAL, legendFontSize=10, xAxisFontSize=10, yAxisFontSize=10, markerStyles=;;;Star10, markerSize=25, markerColor=Red, markerBorderColor=Orange, markerBorderWidth=2]

Example 2

A pie chart:

[List.Graph: values=Storage^56;Network^32;UCS^6, chartTypes=Pie, chartWidth=1400, chartHeight=700, legendWidthPercent=30, xValueType=String, palette=Storage^Red;Network^Yellow;UCS^#0f0]

Example 3

A doughnut chart:

[List.Graph: values=Storage^56;Network^32;UCS^6, chartTypes=Doughnut, chartWidth=1400, chartHeight=700, legendWidthPercent=30, xValueType=String, palette=Storage^Red;Network^Yellow;UCS^#0f0]

Example 4

Although it is not possible to present a gauge chart type, it is possible to achieve a similar effect with a doughnut type and clipping. Remove the 'clipBottom' from the following example to see how this is achieved.

[:67;33;100,=>Usage;Free;Fill][List.Graph: values=Usage^{Usage};Free^{Free};Fill^{Fill}, chartTypes=Doughnut, chartWidth=700, chartHeight=700, chartAreaWidthPercent=100, chartAreaHeightPercent=100, legendWidthPercent=0, xValueType=String, palette=Usage^Red;Free^LightGreen;Fill^LightGray, doughnutRadius=40, pieStartAngleDegrees=180, labels={Usage}%^2^-7^MiddleCenter^Arial^40^Regular^Black, clipTop=80, clipLeft=110, clipRight=80, clipBottom=380]

Example 5

A funnel chart.

[List.Graph: values=Title^Value;Prospect^100000;Opportunity^30000;Quoted^30000, chartTypes=Funnel, chartWidth=1400, chartHeight=700, chartAreaWidthPercent=90, chartAreaHeightPercent=100, legendWidthPercent=0, xValueType=String, palette=Prospect^#ffcccc;Opportunity^#eeeecc;Quoted^##ccffcc, labelText=#VALX: GBP #VALY]

Example 6

A horizontal bar chart.

[List.Graph: values=DeviceName^CPU;Device 1^1;Device 2^8;Device 3^5;Device 4^5, chartTypes=Bar, chartWidth=1400, chartHeight=700, palette=CPU^#4D0159, xAxisMajorGridEnabled=false, xAxisMinorGridEnabled=false, yAxisMajorGridEnabled=false, chartAreaWidthPercent=100, chartAreaHeightPercent=100, legendWidthPercent=0, legendFontSize=10, xAxisFontSize=15, yAxisFontSize=15, yAxisLabelFormat=0, labelText=#VALX]

Example 7

A horizontal bar chart, that takes a 'table' as input (in Normal mode) which was produced using a Calculate macro:

[Calculate: value=`list(list('DeviceName', 'CPU'), list('Device 1', 1), list('Device 2', 8), list('Device 3', 5), list('Device 4', 5) )`, =>Table] [List.Graph: values={=Table}, chartTypes=Bar, chartWidth=1400, chartHeight=700, palette=CPU^#4472C4, xAxisMinorGridEnabled=false, yAxisMajorGridEnabled=false, xAxisMajorGridEnabled=false, legendWidthPercent=0, chartAreaWidthPercent=100, labelText=#VAL, legendFontSize=10, xAxisFontSize=15, yAxisFontSize=15, yAxisLabelFormat=0]

Example 8

A simple chart that uses the 'dynamicYAxis' and 'dynamicYAxisVariancePercent' parameters to dynamically adjust the y-axis scale.

[List.Graph: values=DeviceName^CPU^Memory^Disk^Availability;Device 1^1^2^3^3;Device 2^4^5^6^7;Device 3^5^6^7^8;Device 4^5^6^7^8, chartTypes=Column;Column;Column;Line, dynamicYAxis=true, dynamicYAxisVariancePercent=15]
An unhandled error has occurred. Reload 🗙