Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3180

How to obtain object name?

$
0
0

Hello guys,

 

I have spending a lot of time with a problem that at the beggining I thought it will be easy.

 

The thing is that imagine that you have in the dashboard a chart named CHART_1. How can I obtain the name of this component?

 

For example, I have 10 charts, CHART_1, CHART_2, CHART_3, etc and I want to create a Function that has as an input parameter the name of the chart clicked.

 

The function will be in the event script of each chart so I want to call the function as F.FUNCTION(NAME_OF_CHART_CLICKED);

 

I now I can use the identyfier "me" as a Component variable, but I want to obtain the name of it. There is no getComponentNameClicked()?

 

 

Thanks to all!


Viewing all articles
Browse latest Browse all 3180


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>