[Kst] getting string value from vector

Dan Field dan_field at hotmail.com
Tue Sep 15 17:39:37 UTC 2015


That's exactly what I was looking for.  Thanks!

Best,
     Dan


On 9/15/2015 11:14 AM, Brisset, Nicolas wrote:
> Hi Dan,
>
> When you use an ASCII file as input, the first lines are read in and stored as strings. You can see them under View->Strings under the name Header[line_nb]. And you can also use them in strings (text annotation object) using the syntax [file:string] - when you type the first [ you will see a popup with the list of available strings.
> Does that fit your need?
>
> Nicolas
>
> -----Message d'origine-----
> De : Kst [mailto:kst-bounces at kde.org] De la part de Dan Field
> Envoyé : mardi 15 septembre 2015 18:39
> À : kst at kde.org
> Objet : [Kst] getting string value from vector
>
> Hi All:
>
> I would like to annotate my window of graphs with a text box whose value is to be taken from an input file.  It would be nice if this could be stuffed in one of the top few records of the file and then have my CSV data following, but I'm willing to even create an entire column of that string value.
>
> I presume I can't use a String object since when I go to create the string, and choose "Read from data source" the field types available are fixed.  So I try to create a scalar type where one of my columns consists of the string of interest.  When I try to do this, I get a value of 0, so I suspect string values aren't supported.
>
> How do I go about doing this?
>
> Thanks in advance,
>     Dan
>
>
> This mail has originated outside your organization, either from an external partner or the Global Internet.
> Keep this in mind if you answer this message.
>
>
> AIRBUS HELICOPTERS DEUTSCHLAND GmbH
> Sitz der Gesellschaft / Registered Office: Donauwörth
> Registergericht / Registration Court: Amtsgericht Augsburg HRB 16508
> Vorsitzender des Aufsichtsrates / Chairman of the Supervisory Board: Guillaume Faury
> Geschäftsführung / Board of Management:
> Dr. Wolfgang Schoder, Vorsitzender / CEO; Johannes Kleidorfer; Dr. Klaus Przemeck; Oliver Schenzle; Martin Schübel; Stefan Thomé
>
>
> CONFIDENTIALITY NOTICE
>
> This communication and the information it contains is intended for the addressee ( s ) named above and for no other persons or organizations.
> It is confidential and may be legally privileged and protected by law. The unauthorized use, copying or disclosure of this communication
> or any part of it is prohibited and may be unlawful.
> If you have received this communication in error, kindly notify us by return e-mail and discard and/or delete the communication.
> Thank you very much.
> It is possible for e-mails to be intercepted or affected by viruses. Whilst we maintain virus checks on our e-mails, we accept no liability for viruses
> or other material which might be introduced with this message.
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> https://mail.kde.org/mailman/listinfo/kst



More information about the Kst mailing list