The Spotfire Community is moving to TIBCOmmunity and this forum location has closed. During the transition, you can still search the old forums but posting has been disabled. We encourage you to pick up the discussion at the new Spotfire community on TIBCOmmunity.
Displaying Images in a Label Property Control - Tip of the Week

Tip of the Week

Displaying Images in a Label Property Control

In last week’s post, we learned how to create custom Property Controls in the form of Radio Buttons and Checkboxes.  As it turns out, this solution works well using the Web Player from Internet Explorer, but the wingdings fonts do not display as they should in Firefox or Chrome.  To correct this, and to learn another nice feature, we will replace the wingding fonts with a graphic in the Label Property Control.  

This can be accomplished out of the box using a Data Function, but that requires S+ or R and the TIBCO Spotfire Statistics Server. If you do not have those, or you just want to use something more lightweight, a script can be used. The code below can be used in a script control. It will take an image, specified via a  URL, and will place it in a Binary Document Property.  

from System.Drawing import Image
from System import Uri
from System.Net import HttpWebRequest
from Spotfire.Dxp.Data  import BinaryLargeObject

uri = Uri("")
request = HttpWebRequest.Create(uri)
response = request.GetResponse()
stream = response.GetResponseStream()
blob = BinaryLargeObject.Create(stream)
Document.Properties["testImage"] = blob

If you then attach this Binary Property to a Label Property Control, the image will appear, and will work in the Web Player as well in all supported browsers. To see the same example as last week updated to work using this new approach, take a look at:

This opens the door for a new set of features, where you can rotate through images based off some logic. This can lead to a custom-traffic light visualization, Radio Button and Checkbox Property Controls, and other solutions where you need to rotate or display different images based off of data.



laurent said:

hi kevin,

is it possible to change by script the image of a "action control" ?

October 19, 2011 11:34 AM

rado watches said:

I have been keeping track of your site for a long time I read these articles, this is an interesting reading I will continue to pay attention to it more

Your article is one of the most classical style, when I read once, I have been deeply in love with them, you look forward to more perfect work.

December 19, 2011 9:35 PM

uggkensington said: | UGG Fox Fur Short Boots 5531 | UGG Kensington Boots 5678 | UGG Rainier Eskimo Boots 5189 | UGG Retro Cargo Boots 1895

December 27, 2011 7:53 PM

uggskensingtonsale said:

www.uggskensingtonsale.orgugg-adirondack-boots-ii-c-6.html | UGG Adirondack Boots II

www.uggskensingtonsale.orgugg-adirondack-tall-boots-c-11.html | UGG Adirondack Tall Boots

www.uggskensingtonsale.orgugg-amberlee-boots-c-34.html | UGG Amberlee Boots

www.uggskensingtonsale.orgugg-annabelle-boots-c-35.html |

December 28, 2011 3:39 AM

uggkensingtons said: | |UGG Kensington Boots 5678 Black |UGG Kensington Boots 5678 Brown

January 3, 2012 10:26 PM

uggretrocargosale said:

January 4, 2012 1:01 AM

beats outlet said:

Generally believed that art is a way to grasp the real world, artistic activity is to intuition, and grasping objects in a holistic manner, and on that basis in the form of symbolic symbols to create a certain artistic images of spiritual practice. It appears in art in the end, such works of art ranging from artist's knowledge of the objective world and reflect, there are artist's own subjective factors such as emotions, ideals and values, it is a spiritual products.

Hidden features of art: refers to the art aesthetic features are not familiar with the perception of the outside world, but need to go through the dialectical approach and aesthetic spirit of the reasoning contained in the interpretation of works of art and identity.

Aesthetic features of the art: refers to the art viewers were familiar with the aesthetic spirit, cognition, perception, and thought its dominant and recessive characteristics and symbols.

Dominant feature of art: refers to the art aesthetic spirit and features of familiar perception by outsiders.

August 27, 2012 4:30 AM

Pyle said:

Hi there to every , for the reason that I am truly keen of reading this webpage's post to be updated regularly. It consists of fastidious information.

September 16, 2012 8:33 PM

Russell said:

It's impressive that you are getting thoughts from this paragraph as well as from our discussion made here.

October 7, 2012 11:32 AM

dre beats outlet said:

Better Life music and I hope that music can help you share the burden of life , can help you to pass their own happiness to others - Beethoven .

The great musicians brought us the most beautiful music , music makes our life colorful , positive . So , when you feel the lack of motivation , stop and listen to

some music , recall Beethoven's struggle to own incentive to make life a better place !

With the world of music is so good ! If our every day life in the serious , punctual world , like a robot work after the procedure , like life , it is how boring, how

depressing . Fortunately, with the music ! Like with the colors , let the world colorful , gorgeous scene !

With the world of music is so good ! It can make you out of the shadows and get the sun ; he can make you out of the sad , get happy . I remember a book said: Even if

your heart pain any language , any action that can not be resolved , but as long as the music is playing , your pain eased a lot .

Music , will make life better . If you play any kind of instrument , then you are the world's happiest people . Because , you are to add color to this world !

October 8, 2012 6:17 AM said:

joy to read, I came across this site ages ago but I've only just decided to stop back and have a read of your articles.

October 8, 2012 10:04 PM

Tyson said:

Do you mind if I quote a couple of your articles as

long as I provide credit and sources back to your webpage?

My blog site is in the exact same niche as yours and my users would certainly benefit from some of the information you present here.

Please let me know if this ok with you. Many thanks!

November 13, 2012 8:48 PM

Humphries said:

Greetings! Very useful advice in this particular post!

It is the little changes which will make the most important changes.

Thanks for sharing!

November 23, 2012 3:40 PM

Zielinski said:

I just couldn't leave your site before suggesting that I really enjoyed the standard info an individual provide on your guests? Is gonna be back frequently in order to inspect new posts

December 2, 2012 4:14 AM

xzxzxzx said:

December 20, 2012 8:57 PM

Mcginnis said:

I delight in, cause I found exactly what I used to be taking a look for.

You have ended my four day long hunt! God Bless you man.

Have a nice day. Bye

February 10, 2013 5:12 AM

Roderick said:

I know this website presents quality based posts and other stuff, is there any other

web site which provides these kinds of things in quality?

April 3, 2013 7:04 AM

Charles said:

What I don't necessarily understand is that the statement's confirmation says it will go to you

The physical mailing address is unimportant. He has also taken a few jabs

at Buzz Feed, like salt scrubs, etc., are difficult to remove through waste-water treatment.

Most of us cannot usually see beyond our own perceptions, no matter if

you are looking to buy Scrubs the guys from" Mr.

April 17, 2013 10:34 PM

Schaffer said:

Wow, this piece of writing is pleasant, my sister is analyzing

these things, therefore I am going to inform her.

May 31, 2013 6:48 AM

Vest said:

Tirage des tarots gratuits en ligne 2011 horoscope chinois

July 7, 2013 1:12 AM

Fischer said:

Tirage des cartes de tarot gratuit tirage tarot oracle ge

July 13, 2013 9:24 AM

Ayala said:

Moniteur auto ecole formation conseiller en formation continue

July 14, 2013 2:45 PM

Croteau said:

Signe et ascendant astrologique horoscope decembre gratuit

July 14, 2013 10:46 PM

Lindquist said:

Formation caces 3 definition formation professionnelle

July 15, 2013 1:22 AM

Schumacher said:

Voyance gratuite boule de cristal nudity scorpion astrologie


July 15, 2013 2:57 AM

Joy said:

Tarot de marseille denis lapierre *** les tarot de marseille

July 15, 2013 7:26 AM

Blackburn said:

Formation pedicure medicale serrurier formation

July 15, 2013 8:16 PM

Raney said:

Horoscope gemeaux semaine horoscope femme scorpion

July 17, 2013 5:21 PM

Bowling said:

La voyance par les cartes miss horoscope poisson

July 20, 2013 2:50 PM

Wharton said:

I am in fact grateful to the owner of this web site who has shared

this enormous paragraph at here.

July 20, 2013 5:00 PM

Pannell said:

I all the time used to read post in news papers but now as I am a user of

web therefore from now I am using net for articles, thanks

to web.

July 21, 2013 10:48 AM

Killian said:

This page definitely has all of the info I needed about this subject and didn't know who to ask.

July 24, 2013 6:39 AM

Killian said:

Date signe astrologique chinois elizabeth tessier horoscope

July 30, 2013 6:12 AM

Handy said:

Oracle de triade gratuit le cancer astrologie

August 5, 2013 9:55 PM

Zook said:

We are launching -- the plan is to launch in

Japan, will jointly develop motorbikes, supply each other parts and products,

and jointly purchase parts and materials. It s not necessarily your first diet and until you try this, you can change the images into videos and view.

August 6, 2013 12:29 PM

Grisham said:

Le tarot divinatoire par denis lapierre les horoscopes chinois

August 9, 2013 10:53 AM

Leake said:

Message des cartes belline tarot gratuit asiaflash

August 9, 2013 8:08 PM

Gaytan said:

Horoscope calcul de l ascendant signes astrologiques compatibles

August 10, 2013 11:23 AM

Carrera said:

Tirage de carte tarot de marseille gratuit voyance en amour gratuite

August 16, 2013 4:46 PM

Bottoms said:

Woah! I'm really enjoying the template/theme of this website. It's simple,

yet effective. A lot of times it's very hard to get that "perfect balance" between superb usability and visual appeal. I must say you have done a fantastic job with this. Also, the blog loads very quick for me on Internet explorer. Exceptional Blog!

August 17, 2013 1:28 AM

Haskins said:

Hi there! This post could not be written any better! Reading this post reminds me of my good old

room mate! He always kept talking about this.

I will forward this page to him. Fairly certain he will have a good read.

Many thanks for sharing!

August 17, 2013 5:44 AM

Gannon said:

Horoscope daily love horoscope balance juillet

August 18, 2013 3:25 PM

Eubanks said:

Horoscope 2012 arabe tirage de belline voyance gratuite

August 19, 2013 3:38 PM

Fitzsimmons said:

Tirage du tarot de l amour cartomancie amour gratuite

August 20, 2013 5:59 PM

Sabo said:

Horoscope gratuit annee 2011 affinites astrologiques

August 21, 2013 1:11 AM

Dalton said:

You porne beta telecharger porn gratuit

August 23, 2013 1:36 AM

Laplante said:

Astrologie taureau 2011 belier horoscope de la semaine

August 28, 2013 1:08 AM

Archie said:

Every year government entities provides over

$80 billion in free government grant money to the people, business and

university students my website the first the first is that regarding secured form of the loans.

September 12, 2013 7:28 PM

Bosley said:

I was suggested this web site by my cousin.

I am not sure whether this post is written by him

as nobody else know such detailed about my difficulty.

You're wonderful! Thanks!

September 18, 2013 3:04 AM

Roth said:

Porno vielles salopes sexe rase

September 18, 2013 8:20 AM

Chilton said:

Horoscope gratuit taureau du jour rfm horoscope

September 18, 2013 5:40 PM

Kater said:

Livres gay extrait video hot

September 19, 2013 1:30 AM

Warrick said:

Sexe hard core sexe amateur movies

September 19, 2013 9:58 PM

Hulett said:

Amateur mature vids meilleur porno streaming

September 20, 2013 3:08 AM

Hagan said:

cracks logiciels logiciel pour planning gratuit

September 21, 2013 9:45 PM

Legge said:

I have read so many articles concerning the blogger lovers but

this article is truly a pleasant article, keep it up.

September 22, 2013 12:11 AM

Pence said:

It's actually a nice and useful piece of info.

I'm satisfied that you simply shared this helpful info with us.

Please stay us informed like this. Thanks for sharing.

September 22, 2013 12:30 AM

Lieb said:

Jeux porno sexy sexe beurete

September 22, 2013 7:18 PM

Angel said:

devis travaux de renovation obligation devis travaux

September 29, 2013 1:27 PM

O'Hara said:

Tori black porno salope qui se fait baiser

September 30, 2013 7:40 PM

McGarvie said:

Video sex depucelage stargate sg1 porno

October 1, 2013 4:06 AM

Gritton said:

modele de devis pour travaux devis electricite maison

October 2, 2013 7:19 AM

Witt said:

Horoscope amour du mois rtl horoscope haas

October 2, 2013 11:03 PM

Fruehauf said:

cartas del tarot si o no horoscopo de hoy amor tarot y predicciones

October 2, 2013 11:18 PM

Madison said:

anuncios videncia mejores videntes de espana

October 3, 2013 1:03 AM

Rubeo said:

Unquestionably believe that which you stated.

Your favorite reason appeared to be on the internet the simplest

thing to be aware of. I say to you, I definitely get annoyed while people think about worries that they

plainly do not know about. You managed to hit the nail upon the top and defined out the whole

thing without having side effect , people could take a signal.

Will probably be back to get more. Thanks

October 5, 2013 12:03 AM

Mathis said:

Valuable information. Lucky me I discovered your web site by

accident, and I'm stunned why this twist of fate did

not happened in advance! I bookmarked it.

October 5, 2013 9:23 AM

Jernigan said:

What's up, I want to subscribe for this website to get newest

updates, so where can i do it please assist.

October 5, 2013 12:49 PM

Cremean said:

What i do not realize is if truth be told how you're now not really a lot more neatly-favored than you

might be right now. You're very intelligent. You understand therefore significantly with regards to this matter, produced me

in my opinion consider it from numerous varied angles.

Its like women and men are not fascinated until it is something to do with Woman gaga!

Your own stuffs outstanding. All the time care for it up!

October 5, 2013 4:23 PM

Alonzo said:

Appreciate this post. Let me try it out.

October 5, 2013 4:28 PM

Synnot said:

I know this if off topic but I'm looking into starting my own blog and was wondering what all is needed

to get set up? I'm assuming having a blog like yours would

cost a pretty penny? I'm not very internet savvy so I'm not 100% positive.

Any tips or advice would be greatly appreciated.

Thank you

October 5, 2013 7:07 PM

Russo said:

Nice blog right here! Also your web site so much up fast!

What web host are you the usage of? Can I get your affiliate

hyperlink to your host? I wish my web site loaded up as quickly

as yours lol

October 5, 2013 11:22 PM

Quinones said:

Wow that was odd. I just wrote an extremely long comment but after I

clicked submit my comment didn't show up. Grrrr... well I'm

not writing all that over again. Anyhow, just wanted to say superb blog!

October 6, 2013 3:41 AM

Southwell said:

Tirage des cartes de tarot gratuit horoscope du jour gratuits

October 12, 2013 11:50 PM

Armitage said:

golden tarot tarot amor gratis runas

October 27, 2013 1:06 AM

Gard said:

Nice respond in return of this issue with firm arguments and describing all regarding that.

July 16, 2014 8:36 AM

Leave a Comment



Other Spotfire Blogs

©Copyright 2000-2011 TIBCO Software Inc | Privacy Policy | Terms of Use I Blog I Contact Us I Content Center