# Stacked bar issue

**URL:** <https://forum.inductiveautomation.com/t/stacked-bar-issue/43599>\
**Category:** Ignition\
**Created:** [February 19, 2021, 3:47am UTC](https://forum.inductiveautomation.com/t/stacked-bar-issue/43599 "2021-02-19T03:47:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasath.t](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@prasath.t](https://forum.inductiveautomation.com/u/prasath.t)\
**Post date:** [February 19, 2021, 3:47am UTC](https://forum.inductiveautomation.com/t/stacked-bar-issue/43599/1 "2021-02-19T03:47:13Z")

</div>

data = event.source.selectedData  
print data

i am printing the **Stacked bar - slectedData property.** when i click the stacked bar different colors i am getting the output of dataset of each color which i have method in image.  
my issue is i just want to get **“SPA,Service,Line,Compressor”** these keywords from the output when i print. what i need to do to get the output? please let me know i am on it for a project.

 ![selecteddata](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/e/7e0db673738cb24a56457b6936efa3dcacc2b593.png)
