The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Pie Chart Horizontal offset

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
couturier Posted - 07/18/2018 : 07:54:51 AM
Origin Ver. and Service Release (Select Help-->About Origin): 2018b
Operating System: win10

Is it possible to read/write the horizontal offset of a pie chart ?

thanks
3   L A T E S T    R E P L I E S    (Newest First)
yuki_wu Posted - 07/19/2018 : 11:20:38 PM
Hi,

We have added this requirement to our improvement tracking database (ID: ORG-18647).

Hope we can use this new LT command in the future.

Thanks,
Yuki

OriginLab
couturier Posted - 07/19/2018 : 06:38:28 AM
Thanks

I wish I could use it easily, without having to load and complie an OC function.
I replaced the default pie template with a new one with plotting donut graph. It includes a circle that resizes itself automatically to be centered and round. But I can't deal with pie position.
yuki_wu Posted - 07/18/2018 : 10:23:55 PM
Hi,

I am afraid that there is no such option in LabTalk. How about using Origin C?
void SetPieChartOffset()
{
	GraphLayer gl = Project.ActiveLayer();
	Tree tr;
	tr.Root.Pies.Pie1.Geometry.Offset.nVal = 50;
	if( 0 == gl.UpdateThemeIDs(tr.Root) )
			gl.ApplyFormat(tr, true, true);
}

Regards,
Yuki

OriginLab

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000