Jump to content
Software FX Community

gauge data selection


terrat

Recommended Posts

If you are using powershell and out-gauge you can do something like this

GetYourData | out-gauge -value {$_.Trials} 

Where Trials is the name of the property/column you are interested in. Note that if your SQL returns multiple rows we will use only the first one.

Unfortunately we do not expose the UI to choose the column for a gauge in the PowerGadgets Creator. Note that you can open a PGF in notepad and add the following inside the <Window> tag for the appropriate gauge

  <Data.PropertyCount>1</Data.PropertyCount>

  <Data.Property0>MainValue</Data.Property0>

  <Data.Property0ScriptBlock>$_.Trials</Data.Property0ScriptBlock>

 JuanC

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...