Author |
Topic  |
|
AKazak
Russia
1205 Posts |
Posted - 11/21/2022 : 09:14:55 AM
|
OriginPro 2023 (64-bit) 10.0.0.154 Windows 7 Pro SP1 x64
Greetings!
I have the following table:

I plot the parameters in a graph:

Now I want to hover the mouse cursor to the target Slice ID, do a left mouse button click and show the image with file name specified in column G either in the graph window or in a separate window.
Can Origin offer a relatively easy way of doing this?
Thank you.
--- Andrey |
|
YimingChen
1651 Posts |
|
AKazak
Russia
1205 Posts |
Posted - 11/22/2022 : 02:04:23 AM
|
quote: Originally posted by YimingChen
1. You can put the image link to the worksheet cells first: https://www.originlab.com/doc/Origin-Help/InsLink-to-WksCell#Inserting_Links_to_Image_Files
2. Set the data point tooltip to show the preview of the cell image: https://www.originlab.com/videos/details.aspx?id=275
James
Dear James,
Great suggestion. Here is what I got:

Few questions on this. 1) Is this possible to enlarge the image or even display it in the original size in a separate window? 2) Notice that qb data label is located at the bottom. Is there a way to control vertical alignment of the text labels within a tooltip cell? 3) How do I set a level of background transparency of the data tooltip?
Thank you.
--- Andrey |
Edited by - AKazak on 11/22/2022 02:06:47 AM |
 |
|
Cecilia_syy
65 Posts |
Posted - 11/22/2022 : 04:14:45 AM
|
Hi Andrey, To enlarge image size in tooltip, you can set column width for image column, just click pencil icon of image column in Data Point Tooltip dialog. Vertical alignment option is control within each column, you can click pencil icon for each column to change it. To change transparency of tooltip, you can set with system variable @TDT. 1 - 254 = Degree of transparency. 0 or 255 = turn off transparency.
Thanks Cecilia |
 |
|
AKazak
Russia
1205 Posts |
Posted - 11/22/2022 : 04:21:24 AM
|
quote: Originally posted by Cecilia_syy
Hi Andrey, To enlarge image size in tooltip, you can set column width for image column, just click pencil icon of image column in Data Point Tooltip dialog. Vertical alignment option is control within each column, you can click pencil icon for each column to change it. To change transparency of tooltip, you can set with system variable @TDT. 1 - 254 = Degree of transparency. 0 or 255 = turn off transparency.
Thanks Cecilia
Dear Cecilia, 1) Width parameter sets the tooltip width, but not image height:
 How do I display images in a separate window?
2) Alignment setting is about horizontal alignment:
 How do I set vertical alignment?
3) Got it.
--- Andrey |
 |
|
YimingChen
1651 Posts |
Posted - 11/22/2022 : 11:16:22 AM
|
I created jira ORG-26055 to address 1 and 2.
James |
 |
|
AKazak
Russia
1205 Posts |
Posted - 11/22/2022 : 2:01:53 PM
|
quote: Originally posted by YimingChen
I created jira ORG-26055 to address 1 and 2.
James
Dear James,
Got it. I would be happy to test an update.
--- Andrey |
 |
|
Cecilia_syy
65 Posts |
Posted - 11/22/2022 : 10:34:32 PM
|
Hi Andrey, I found you use insert link to image in column. Could you use insert image from files entry to put image in column? With such image, if you set column width, the image size will auto fit the column width like following:
, About alignment, if you show gridline like above screenshot(last button in data point tooltip dialog), you can see each row is in different cells. I am not sure what kind of result do you expect with vertical alignment option.
Thanks Cecilia |
Edited by - Cecilia_syy on 11/22/2022 10:49:03 PM |
 |
|
AKazak
Russia
1205 Posts |
Posted - 11/23/2022 : 03:09:36 AM
|
Dear Cecilia,
quote: Originally posted by Cecilia_syy
Hi Andrey, I found you use insert link to image in column. Could you use insert image from files entry to put image in column? With such image, if you set column width, the image size will auto fit the column width like following:
Thanks Cecilia
Didn't get your point. Can you share a sample project, please?
quote: Originally posted by Cecilia_syy About alignment, if you show gridline like above screenshot(last button in data point tooltip dialog), you can see each row is in different cells. I am not sure what kind of result do you expect with vertical alignment option.
Thanks Cecilia
I want to control both horizontal (left, center, right) and vertical (top, middle, left) alignment of the cells' contents.
--- Andrey |
Edited by - AKazak on 11/23/2022 03:14:15 AM |
 |
|
Cecilia_syy
65 Posts |
Posted - 11/23/2022 : 9:10:52 PM
|
Hi Andrew, you can see this sample:https://my.originlab.com/ftp/forum_and_kbase/Images/PointToolTip-ImageLinkAndEmbeddedImage.opju In Book1 column C, all the image is image link, you can check content with formula bar. In column D, all the image is embedded image. Tooltip of Graph 1 use column C, and tooltip of Graph 2 use column D, you can see the image in graph 2 is larger. To insert embedded image. you can right click worksheet cell and select insert images from files.
Tooltip image from image link could not auto fit with column width is a bug, we will fix it.
Thanks Cecilia |
 |
|
AKazak
Russia
1205 Posts |
Posted - 11/24/2022 : 01:59:28 AM
|
Dear Cecilia,
quote: Originally posted by Cecilia_syy Tooltip image from image link could not auto fit with column width is a bug, we will fix it. Thanks Cecilia
Please create an new ORG describing the bug, so it can be fixed in the following minor update. The main idea is to give a user capability to control dimensions (scale) of images displayed in the tooltip.
quote: Originally posted by Cecilia_syy
Hi Andrew, you can see this sample:https://my.originlab.com/ftp/forum_and_kbase/Images/PointToolTip-ImageLinkAndEmbeddedImage.opju In Book1 column C, all the image is image link, you can check content with formula bar. In column D, all the image is embedded image. Tooltip of Graph 1 use column C, and tooltip of Graph 2 use column D, you can see the image in graph 2 is larger. To insert embedded image. you can right click worksheet cell and select insert images from files.
Insert Images from Files command is a handy one, but unfortunately embedding images to the project won't work in my case since I have few thousands of images with the total size of 10s of GBs. I hope the bug will be fixed soon.
--- Andrey |
 |
|
Cecilia_syy
65 Posts |
Posted - 11/24/2022 : 10:06:21 PM
|
Hi Andrey, Our internal build already fix this issue(ORG-26058). You can try it once there is a beta version.
Thanks Cecilia |
 |
|
AmandaLu
439 Posts |
Posted - 05/06/2023 : 02:52:23 AM
|
quote: Originally posted by AKazak Dear Cecilia, 1) Width parameter sets the tooltip width, but not image height: How do I display images in a separate window?
2) Alignment setting is about horizontal alignment: How do I set vertical alignment?
3) Got it.
--- Andrey
Hi AKazak,
Origin 2023b is available!
The issues you reported in this post has been fixed/improved in this version. "Image File Link could not auto fit tooltip column width" (ORG-26058) "Control Vertical Alignment for Tooltip Cell" (ORG-26070)

Please download Origin 2023b from the link below, install and try it. http://www.originlab.com/demodownload.aspx
If you do not have an active Origin Maintenance, you can still use this trial version for 7 days.
We are looking for your feedback! Any suggestion will be appreciated!
Thanks, Amanda OriginLab Technical Service
|
Edited by - AmandaLu on 05/06/2023 03:17:04 AM |
 |
|
AKazak
Russia
1205 Posts |
Posted - 05/31/2023 : 11:29:41 PM
|
quote: Originally posted by AmandaLu Hi AKazak,
Origin 2023b is available!
The issues you reported in this post has been fixed/improved in this version. "Image File Link could not auto fit tooltip column width" (ORG-26058) "Control Vertical Alignment for Tooltip Cell" (ORG-26070)

Please download Origin 2023b from the link below, install and try it. http://www.originlab.com/demodownload.aspx
If you do not have an active Origin Maintenance, you can still use this trial version for 7 days.
We are looking for your feedback! Any suggestion will be appreciated!
Thanks, Amanda OriginLab Technical Service
Dear Amanda,

The new feature works perfectly. Well done!
--- Andrey |
 |
|
|
Topic  |
|
|
|