Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website

  • Hi,
    I'm trying to use interactive svg graphics. I've noticed, that values on the svg graphics are only updated when datapoints binded to this values are disabled/enabled and only then. The code below:

    <ma-get-point-value id="ca8f3e8a-43db-464c-bcdf-ecb7efeadeb5" style="position: absolute; left: 92.9972px; top: 15px;" point-xid="DP_10aef34f-098b-446f-9f9a-69b5bf0dd422" point="KolT1"></ma-get-point-value>
     <ma-get-point-value point-xid="DP_69577916-528d-4007-8666-f8af9c3d0c3c" point="KolT2"></ma-get-point-value>
     
    <div layout="column" layout-fill="" flex="">
        <div flex="" layout="row" layout-xs="column" layout-fill="">
            <div layout="column" flex="70" flex-xs="25">
                <md-card flex="">
                    <md-card-content>
                        Card 1
                         <ma-svg id="81fde98e-1324-4f52-bd98-baf87df32b61" ng-include="'/modules/mangoUI/web/images/kolektory.svg'" style="position: absolute; width: 800px; height: 600px; left: 35px; top: 62px;">
                         <div ma-selector="#kolt1value tspan" ng-bind="KolT1.renderedValue"></div>
                         <div ma-selector="#kolt2value tspan" ng-bind="KolT2.renderedValue"></div>
                         </ma-svg>
                    </md-card-content>
                </md-card>
            </div>
    

    What should I do to update this values in real time?
    Where can I find a link to examples/svg graphics/interactiv svg in mango 3.0 ?


  • Hi,
    I solved the problem, virtual data point had update period set to 8000 hours. Best regards.


  • Thanks for sharing the resolution! In case you didn't see it, we added a setting to the virtual data source in Mango 3 that outright disables polling (since that's what you were going for with 8000 hours, I imagine).


  • Thanks for information. I have another question: I set a point link meta data source -> virtual data source and turn off polling in virtual data source. Virtual data source value should be displayed on svg image. In described situation, when meta data source receive update, a new value will be updated on svg image?


  • I would expect so, yes.