chuang
Posts: 1
Joined: Tue Feb 20, 2024 1:58 am

accessing data connector in custom component

Hi, is there a away to access the data-pool connector in a custom defined component in Highcharts Dashboard? I tried looking into the documentation but couldn't find a clear answer.
User avatar
dawid.d
Posts: 848
Joined: Thu Oct 06, 2022 11:31 am

Re: accessing data connector in custom component

Hello,

Welcome to our forum and thanks for contacting us with your question!

The logic for adding connectors to a component is basically defined in the abstract class 'Component'. If you connect a connector to the component in a standard way, you can access its data in a way, for example, as shown in the demo below.

Demo: https://jsfiddle.net/BlackLabel/pw8b30j9/

I hope this answers your question. If you have any doubts, questions or suggestions, feel free to ask! The project is undergoing rapid development and every feedback is welcome and has a real impact on the development of the product.
Best regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Dashboards”