Skip to end of metadata
Go to start of metadata
Description

Starts a new instance of a chart. The chart must be set to "Callable" execution mode.

Syntax

system.sfc.startChart(path, arguments)

  • Parameters

Path - The path to the chart, for example "ChartFolder/ChartName"

Arguments - A dictionary of arguments. Each key-value pair in the dictionary becomes a variable in the chart scope and will override any default.

  • Returns

String - The unique ID of this chart.

  • Scope

All

Code Examples
Code Snippet
#The following will start an SFC with a dictionary of values to use inside the chart
args= {"var1":10, "Var2":15,"Var3":1}
path = "ChartFolder/ChartName"
sfcID = system.sfc.startChart(path, args)
  • No labels