This article from InSource shows how to use the Wonderware OnLine Historian InSight Chart API to generate custom charts via the Chart API.
- Author: Chris Selph
- Published: 11/20/2017
- Applies to: Historian OnLine InSight
Wonderware's OnLine Historian has a default user interface for data visualization called InSight and is accessible from most any browser. There is also mobile access to this data repository from mobile devices via the SmartGlance Apple or Android app. However, advanced users may need to create a custom interface such as in Sharepoint or other portal or even in Wonderware's InTouch interface.
The API is fully documented and examples can be found in the InSight online help.
This requires that you login to your InSight solution before issuing chart generation commands via the browser.
Example URL: https ://online.wonderware.com/ explore/? DurationHours=1&tags=Fiberline%20T2%20Historian.WIN-EO8AO1OI03S.HeatingTank_002.TankLevel,&chartType=LineChart
https ://online.wonderware.com/ explore/? - Base URL (no solution ID specified as it expects the browser to be logged in)
DurationHours=1chartType - Relative duration past x hours
tags - FQN (Fully Qualified Name)
chartType - one of several types of charts to render