I am trying to create a custom widget for a cockpit.
The widget should have configurable datapoints and events.
Preferably I would like to use the same selectors as used in the datapoint graph.
I did not find anything in the web SDK Dokumentation so i looked at the direktive the datapoint graph is using. I found it is
Sadly, when I try this directive, I get the error:
NG0304: 'c8y-data-point-list' is not a known element:
I did some research and found conflicting information:
Another post in the Tech Community with the title C8y-data-point-list error in template (cannot post links) states, that
<c8y-data-point-list>is not part of the web SDK.
A different post with the title Adding datapoints to custom widgets (cannot post links), however, refers to a stackoverflow question and implies that it is indeed possible to have the datapoint selector.
Is it possible to have the datapoint selector/ event selector like in the datapoint graph? And if so, how?
i created my cockpit with the command
c8ycli new timeline-widget cockpit -a @email@example.com
node version v14.21.1
c8ycli version 1015.0.303