AnsweredAssumed Answered

PI Vision Custom symbols

Question asked by Sasanka on Nov 19, 2019
Latest reply on Nov 20, 2019 by Sasanka

Hi, Anybody got an idea on how to add a hyperlink as custom symbol in PI Vision.

 

I was manged to add a symbol by adding below js file in to ext Folder.

 

(function (PV) {
function symbolVis() {}
PV.deriveVisualizationFromBase(symbolVis);

var definition = {
typeName: 'Google',
datasourceBehavior: PV.Extensibility.Enums.DatasourceBehaviors.Single,
visObjectType: symbolVis,
getDefaultConfig: function() {
return { DataShape: 'Value',Height: 150, Width: 150 };
}
};
symbolVis.prototype.init = function () { }
PV.symbolCatalog.register(definition);
})(window.PIVisualization);

 

But on hover of the symbol, I need to add a tool tip, google.com and while clicking on the tool tip it should be navigate to google.com

Outcomes