Hi Maarnts,
Sorry, we don't have LabTalk commands to customize the bubble scale format. But you can use Origin C script instead, such as
bool test_buuble_format()
{
GraphLayer layActive = Project.ActiveLayer();
GraphObject go = layActive.GraphObjects("BUBBLELEGEND1");
if(!go)
return false;
Tree trFmt;
trFmt.Root.DimAxes.DimAxis2.Scale.From.dVal = 0;
trFmt.Root.DimAxes.DimAxis2.Scale.To.dVal = 15;
trFmt.Root.DimAxes.DimAxis2.Scale.IncrementBy.nVal = OAI_MAJORTICKCOUNT;//OAXISINCREMENT
int nErr = go.UpdateThemeIDs(trFmt.Root);
if(nErr == 0)
{
int nRet = go.ApplyFormat(trFmt, true, true);
}
return true;
}
This example can be used to change the From and To value at the Levels tab of Bubble Scale Control dialog,
https://www.originlab.com/doc/Origin-Help/BubbleScale#Levels
If you want to change other properties with Origin C treenode as above, please check the variable names in the Apply Format dialog as below:
The details of Apply Formats dialog can be found here,
https://www.originlab.com/doc/Origin-Help/CopyPaste-Format
Thanks,
Shirley
Originlab Technical Service Team