What event would you use for a tooltip to display the yValue of a bar in chart?
Currently, the tooltip displays all values.
Pixelpositiontovalue says it is only used in paint events? Maybe Pixelpositiontovalue is not the correct route.
Any tips would be appreciated. Thank you Friends
Search found 62 matches
- Mon Aug 14, 2023 11:33 am
- Forum: PowerShell GUIs
- Topic: Tooltip Pixelpositiontovalue
- Replies: 0
- Views: 18860
- Wed Aug 09, 2023 10:02 am
- Forum: PowerShell GUIs
- Topic: Candlestick Chart type
- Replies: 3
- Views: 3126
Re: Candlestick Chart type
$csv= Import-Csv -Path "path\Collected.csv" | sort InstanceMarket $high = $csv.'Maximum Runup' $low = $csv.'Maximum Drawdown' $open = "0" $close = $csv.'Daily Profit/Loss' $vol = $csv.'Today Total Trades' [void]$chart1.Series.Add("high") $chart1.Series["high"...
- Sat Jul 22, 2023 9:42 am
- Forum: PowerShell Studio
- Topic: Project will run in PSS, but packaged exe not same
- Replies: 4
- Views: 1593
Re: Project will run in PSS, but packaged exe not same
OK thank you for the reply. This all makes sense now to me.
Thank you for your time.
Thank you for your time.
- Sat Jul 22, 2023 9:14 am
- Forum: PowerShell Studio
- Topic: Project will run in PSS, but packaged exe not same
- Replies: 4
- Views: 1593
Re: Project will run in PSS, but packaged exe not same
You are right, that is what is happening. Any way to work around this? I guess I could call a .ps1 and run outside the exe..
- Sat Jul 22, 2023 8:36 am
- Forum: PowerShell Studio
- Topic: Project will run in PSS, but packaged exe not same
- Replies: 4
- Views: 1593
Project will run in PSS, but packaged exe not same
Product, version and build: Product: PowerShell Studio 2023 (64 Bit) Build: v5.8.226 OS: Windows 10 Pro (64 Bit) Build: v10.0.19044.0 I have wrote a script using parallel using Powershell 7. The script works as intended. When running the form in Powershell Studio, it runs as it should The script wor...
- Sun Jul 09, 2023 6:31 am
- Forum: PowerShell GUIs
- Topic: Candlestick Chart type
- Replies: 3
- Views: 3126
Re: Candlestick Chart type
$Autobotviewercsv = Import-Csv -Path "C:\Market@Glance\Autobot\AutoBotStatsCollected.csv" $high = $Autobotviewercsv.'Maximum Runup' $low = $Autobotviewercsv.'Maximum Drawdown' $open = "0" $close = $Autobotviewercsv.'Daily Profit/Loss' $highmark = $high | ForEach-Object { $chart1...
- Sun Jun 25, 2023 9:17 am
- Forum: PowerShell GUIs
- Topic: Candlestick Chart type
- Replies: 3
- Views: 3126
Candlestick Chart type
Can anybody provide an example of a candlestick chart made with Powershell studio?
I'm unsure of how to plot multiple Y-axis points?
Any tips would be appreciated.
Thank you for your time!
I'm unsure of how to plot multiple Y-axis points?
Any tips would be appreciated.
Thank you for your time!
- Sat Jun 24, 2023 1:05 pm
- Forum: PowerShell GUIs
- Topic: Chart control- Color positive, negative numbers
- Replies: 5
- Views: 1701
Re: Chart control- Color positive, negative numbers
Solution #Reflect Bar colors to Positive/Negative $points = $Chart1.Series[0].Points ForEach ($series in $points) { if ($series.YValues -gt 0) { $Series.Color = [System.Drawing.Color]::FromArgb(0, 128, 192) } else { $Series.Color = [System.Drawing.Color]::FromArgb(255, 128, 128) } }
- Sat Jun 24, 2023 9:49 am
- Forum: PowerShell GUIs
- Topic: How to add stripline to chart
- Replies: 1
- Views: 1014
How to add stripline to chart
How do I add a Stripline to a chart? Im trying to plot a horizontal line at zero. // Instantiate new strip line StripLine stripLine1 = new StripLine(); stripLine1.StripWidth = 0; stripLine1.BorderColor = Color.Black; stripLine1.BorderWidth = 3; stripLine1.Interval = 5; // Add the strip line to the c...
- Wed Jun 21, 2023 8:49 am
- Forum: PowerShell GUIs
- Topic: Chart control- Color positive, negative numbers
- Replies: 5
- Views: 1701
Re: Chart control- Color positive, negative numbers
I'm still unable to paint different colors based on positive or negative. Clear-Chart $chart1 $script:csv = Import-Csv -Path "C:\testpath\AutoBotStatsCollected.csv" update-Chart $chart1 -XPoints $csv.'Market' -YPoints $csv.'Daily Profit/Loss' $points = $Chart1.Series[0].Points ForEach($ser...