Create Template Charts with python

Hi everyone,

I want to create some Charts for my custom Components using the Python API.

For the Simple Charts there is the command “createChart” but the Template Charts are not included.

I found this related post for customizing the colors of plots: Change Statistics Colors which was quite insightful, but seems still the solution would be to copy the functions from VC Libraries in order to create those charts with python API or “manually” reconstruct the Templates using simple charts.

Does anyone have any better suggestion?
Thanks in advance!

Those “Template charts” are actually Python commands that generate the charts, so you could probably execute them from your own Python command or script code. See the Python\Commands\Statistics\__init__.py file inside your VC installation folder for the command names.

See vcApplication.Commands and vcCommand in the Python API help.

1 Like