Text as a link to the channel

Forum Home Forums Understanding the Software Text as a link to the channel

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #18038
    oley
    Participant

    Hi,

    I want to add text that will be associated with the channel, but it won’t display the channel’s value – just custom text – and clicking it will open the chart.
    I need it as a label for an image that is linked to a channel, but sends a command when clicked.

    #18041
    Mikhail
    Moderator

    Hi,

    New mimics should do that in a straightforward manner. Do you have any issues?

    #18070
    oley
    Participant

    Hi,

    it shows me the value and unit of the channel.
    Text is set as a label of the switch, e.g. Q1.

    #18072
    Mikhail
    Moderator

    Hi,

    1. Remove the channel number from the component data binding, and open a chart by a JS command that can be set as an action. An action script would be

    function (args) {
      args.renderContext.viewHub.features.chart.show(101);
    }

    2. Or create a custom binding for the text property with an empty channel.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.