Jump to: navigation, search

Difference between revisions of "HowTo:Configure and customize chart properties"


(Created page with "Chart properties are used to provide historical values to a {{UBIK}} client for display in a chart. This article covers how to configure and customize them on the s...")
 
(Assembling ChartData)
 
Line 63: Line 63:
 
The [[Charts#Chart_properties|Charts]] article explains the effect of the ChartData members on the chart.  
 
The [[Charts#Chart_properties|Charts]] article explains the effect of the ChartData members on the chart.  
  
Another question is where to get the values from. This is covered in a [[HowTo:Process_historical_data_(live_values)|dedicated article]].
+
Another question is where to get the values from. This is covered in a [[HowTo:Get_and_process_historical_data_(live_values)|dedicated article]].
 +
 
 +
[[Category:Coding|Configure and customize chart properties]]
 +
[[Category:How-To|Configure and customize chart properties]]
 +
[[Category:Live Values|Configure and customize chart properties]]
 +
[[Category:OPC|Configure and customize chart properties]]
 +
[[Category:OSIPI|Configure and customize chart properties]]
 +
 
 
= Custom code example =
 
= Custom code example =
 
As explained above, you can either import chart values or you can customize the property to assemble chart data on demand. Here's example code for the latter option, assuming you already read some historical data from Aveva/Osi PI.
 
As explained above, you can either import chart values or you can customize the property to assemble chart data on demand. Here's example code for the latter option, assuming you already read some historical data from Aveva/Osi PI.

Latest revision as of 10:59, 3 March 2025

Chart properties are used to provide historical values to a UBIK® client for display in a chart. This article covers how to configure and customize them on the server side. There is another article addressing the client-side UI customization of Charts.


[edit]

Basic configuration

  • Open the Custom.Main.Base.CUSTOMMETAPROPERTY MetaClass in a Bulk Editor.
  • Create a new instance
  • Fill in at least the Name (NAME) and set the Item type (TYPE) to "Chart".
  • Assign the new MetaProperty to a MetaClass of your choice using the Class Details Browser or the Relation Editor.
  • For display on the client, make sure there is a MetaClassScope for that MetaClass also relating to the new MetaProperty.

See also