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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Quick Fit Gadget: lock axes settings after Output
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

AKazak

Russia
1205 Posts

Posted - 11/12/2020 :  04:11:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
OriginPro 2021 (64-bit) 9.8.0.200
Windows 7 Pro x64 SP1

Greetings!

I make a graph, zoom to the target region of the plot, call and place Quick Fit Gadget.
However, if I Output from the gadget the zoom settings reset with axes Rescale.

How do I lock the axes settings?

Thank you.

---
Andrey

AmandaLu

439 Posts

Posted - 11/12/2020 :  05:07:50 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

I cannot see the problem here. Could you please send your project to me so I can try it? You can send it to tech@originlab.com.

Thanks,
Amanda
OriginLab Technical Service
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 11/12/2020 :  06:50:30 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by AmandaLu

Hi,

I cannot see the problem here. Could you please send your project to me so I can try it? You can send it to tech@originlab.com.

Thanks,
Amanda
OriginLab Technical Service




Dear Amanda,

I attach the project to this post.https://my.originlab.com/ftp/forum_and_kbase/Images/QFG%20in%20Sparkline%20Graph.opju

Please note that the issue comes up after 2nd call of Output command.
Can you reproduce the issue?

---
Andrey
Go to Top of Page

Liamn

19 Posts

Posted - 11/13/2020 :  05:28:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Change the Rescale option to "Normal" should fix the problem.


quote:
Originally posted by AKazak

quote:
Originally posted by AmandaLu

Hi,

I cannot see the problem here. Could you please send your project to me so I can try it? You can send it to tech@originlab.com.

Thanks,
Amanda
OriginLab Technical Service




Dear Amanda,

I attach the project to this post.https://my.originlab.com/ftp/forum_and_kbase/Images/QFG%20in%20Sparkline%20Graph.opju

Please note that the issue comes up after 2nd call of Output command.
Can you reproduce the issue?

---
Andrey

Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 11/16/2020 :  11:31:28 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Liamn

Change the Rescale option to "Normal" should fix the problem.



Thank you for the suggestion.
Is this normal behavior?

---
Andrey
Go to Top of Page

Liamn

19 Posts

Posted - 11/17/2020 :  03:23:42 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I think that is how "Auto" is supposed to behave, see
https://www.originlab.com/doc/Origin-Help/AxesRef-Scale?f=dl#Rescale

Usually graphs created from menu/toolbar have axis Rescale Mode set to "Normal".

The graph you have in the project file is the "Sparkline" of a column, which by default has the "Auto" setting.

quote:


Thank you for the suggestion.
Is this normal behavior?

---
Andrey


Edited by - Liamn on 11/17/2020 05:01:20 AM
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 11/17/2020 :  04:01:26 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Got it!
Thank you for clarifying this.

---
Andrey
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 11/18/2020 :  4:05:21 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
By the way, how do I define the default axis setting for a sparkline chart?

---
Andrey
Go to Top of Page

Chris D

428 Posts

Posted - 11/18/2020 :  4:45:51 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Sparklines are based on graph templates in the Origin EXE folder.

To customize sparkline plot, double-click on the sparkline to open the graph. Then right-click on graph window title bar and choose Save Template As...

Save the template to you UFF so it will be chosen before the one in the EXE folder.



Thanks,
Chris Drozdowski
Originlab Technical Support
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 12/01/2020 :  09:58:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by Chris D

Sparklines are based on graph templates in the Origin EXE folder.

To customize sparkline plot, double-click on the sparkline to open the graph. Then right-click on graph window title bar and choose Save Template As...

Save the template to you UFF so it will be chosen before the one in the EXE folder.



Thanks,
Chris Drozdowski
Originlab Technical Support




Thank you for the suggestion.
How should I name the template file to override the standard Origin template for sparklines?

---
Andrey
Go to Top of Page

easwar

USA
1965 Posts

Posted - 12/01/2020 :  12:54:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:

Thank you for the suggestion.
How should I name the template file to override the standard Origin template for sparklines?

---
Andrey



Hi Andrey,
Double-click to open, customize graph, then right-click on the title bar of the graph window and select Save Template As...
The dialog that opens will have the appropriate template name pre-filled. When you click OK to save, you will be prompted to save the modified copy in your User Files Folder.
Then this modified version from your UFF will be used for sparklines.

Easwar
OriginLab
Go to Top of Page

AKazak

Russia
1205 Posts

Posted - 12/02/2020 :  03:37:20 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Originally posted by easwar

quote:

Thank you for the suggestion.
How should I name the template file to override the standard Origin template for sparklines?

---
Andrey



Hi Andrey,
Double-click to open, customize graph, then right-click on the title bar of the graph window and select Save Template As...
The dialog that opens will have the appropriate template name pre-filled. When you click OK to save, you will be prompted to save the modified copy in your User Files Folder.
Then this modified version from your UFF will be used for sparklines.

Easwar
OriginLab



Got it!
Now I see the correct template name (sparkline_label) that is recognized by Origin.
Thank you.

---
Andrey
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000