# Powershell - StackedColumn100 graph

**URL:** <https://forums.powershell.org/t/powershell-stackedcolumn100-graph/14493>\
**Category:** PowerShell Help\
**Created:** [June 5, 2020, 3:35pm UTC](https://forums.powershell.org/t/powershell-stackedcolumn100-graph/14493 "2020-06-05T15:35:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aureliandan](https://avatars.discourse-cdn.com/v4/letter/a/45deac/32.png) [@aureliandan](https://forums.powershell.org/u/aureliandan)\
**Post date:** [June 5, 2020, 3:35pm UTC](https://forums.powershell.org/t/powershell-stackedcolumn100-graph/14493/1 "2020-06-05T15:35:14Z")

</div>

Hello,

I was finally able to generate a StackedColumn100 graphic from powershell 🙂  
This is the result for two data series:

Used space:  
$ProcessList = “A”,“B”,“C”,“D”,“E”,“F”,“G”,“H”,“I”,“J”,“K”,“L”,“M”,“N”,“O”,“P”,“Q”,“R”,“S”,“T”,“U”,“V”,“Z”,“X”  
$Placeholder = 142,130,147,143,156,47,28,148,110,120,107,117,133,142,119,111,146,124,152,90,126,147,148,161

Free space:  
$ProcessList = “A”,“B”,“C”,“D”,“E”,“F”,“G”,“H”,“I”,“J”,“K”,“L”,“M”,“N”,“O”,“P”,“Q”,“R”,“S”,“T”,“U”,“V”,“Z”,“X”  
$Placeholder = 28,49,22,39,24,132,151,22,61,59,72,62,38,28,52,59,24,47,18,89,44,24,36,23

This represent Used and Free space for Storage devices A,B,C…  
What I’m unable to figure out is how to print as labels the data from $placeholder and not the % value  
For example for the first column:  
A Used Space = 142  
A Free Space = 28  
142+28=170 (170 is 100%)  
Used space = 83.53% - printed as label  
Free space = 16.47% - printed as label

Instead %83.53 & %16.47, I would like to print 142 and 28.  
I’ve used for each series .IsValueShownAsLabel = $true but this will display the %value and not the data value

Thank you for any suggestion!

[![Google Photos](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/2X/7/796913018d87819b2f880fceb6eb304dd2c335cb.jpeg "New item by Dan Maracineanu") ](https://photos.app.goo.gl/Q81LzbM3dknEQoECA)

&nbsp;

![Graph](https://photos.app.goo.gl/Q81LzbM3dknEQoECA)

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [June 5, 2020, 3:52pm UTC](https://forums.powershell.org/t/powershell-stackedcolumn100-graph/14493/2 "2020-06-05T15:52:10Z")

</div>

When you crosspost the same question at the same time to different forums you should at least post links to the other forums along with your question to avoid people willing to you help making their work twice or more.

[https://social.technet.microsoft.com/Forums/en-US/5e0a5ef7-9685-42c1-b05b-027283b4529b/powershell-stackedcolumn100-graph?forum=winserverpowershell](https://social.technet.microsoft.com/Forums/en-US/5e0a5ef7-9685-42c1-b05b-027283b4529b/powershell-stackedcolumn100-graph?forum=winserverpowershell)

Thanks

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:29pm UTC](https://forums.powershell.org/t/powershell-stackedcolumn100-graph/14493/3 "2024-05-16T20:29:22Z")

</div>

Closed on May 16, 2024, 8:29pm UTC


