| 
Simantics/Chart module documentationChartChart represents a TimeSeriesChart instance in Simantics ontology ( createChart :: Resource -> <Proc> Resource Creates a new Chart to the default Charts folder under the given Model parameter. Returns the created Chart. The chart group will be named  Inputs: 
 Output: created chart as  Example: Create a chart to an active model and rename it  
Use createNamedChart to create a chart with a specific name directly. createChartInGroup :: Resource -> <Proc> Resource Creates a new Chart under the specified chart group. Returns the created chart group. The chart group will be named  Inputs: 
 Output: created chart as  Example: Create a chart group to an active model and also two charts within this chart group. 
createNamedChart :: Resource -> String -> <Proc> Resource Creates a new ChartGroup under the given  Inputs: 
 Output: created chart group as  Example: create a chart under an active model with name "My Chart" 
chartsOf :: Resource -> <ReadGraph> [Resource] Browses the given Model for its Charts and then returns them in a list. Inputs: 
 Output: a list of chart Resources contained by the specified model Example: The model contains two charts, called "Chart" and "Chart 2". This example collects the chart Resources and returns a list of the names of the charts. 
chartByPath :: Resource -> [String] -> <ReadGraph> Resource Browses starting from the given Model or Chart Group using the specified name path to find a chart. The function will fail with an exception in all error cases: 
 Inputs: 
 Output: the chart designated by list of the Chart  Example: The model contains two charts, called "Chart" and "Chart 2". This example retrieves the  
Chart ItemsChart items represent an Item instance in Simantics ontology ( addChartItems :: Resource -> Variable -> <WriteGraph> Resource Creates a new chartItem with the given Variable to the given Chart and returns the created ChartItem. New Subscription item is created at the same time to the default subscription folder. Inputs: 
 Output: created Chart Item as  linkSubToChart :: Resource -> Resource -> <WriteGraph> Resource Links the given Subscription to the given chart and returns the created ChartItem. Inputs: 
 Output: created Chart Item adjustChartItem :: [ChartItemSpec] -> Resource -> <WriteGraph> () 
adjusts the specified chart item resource configuration based on the given specifications. The following specs are available: 
 Example: 
chartItemsOf :: Resource -> <ReadGraph> [Resource] 
Returns all items of the specified chart. chartItemByIndex :: Resource -> Integer -> <ReadGraph> Resource 
Returns the chart item with the specified positional index or fails with an exception. chartItemByLabel :: Resource -> String -> <ReadGraph> Resource 
Returns the chart item that is linked to a subscription item with the specified label or fails with an exception. data ChartItemSpec Specifications that can be given to adjustChartItem to modify the configuration of a chart item. ChartItemLabel :: String -> ChartItemSpec ChartItemIndex :: Integer -> ChartItemSpec ChartItemAutoYScale :: ChartItemSpec ChartItemManualYScale :: Double -> Double -> ChartItemSpec ChartItemLineWidth :: Double -> ChartItemSpec ChartItemLineColor :: String -> ChartItemSpec ChartItemVisible :: ChartItemSpec ChartItemHidden :: ChartItemSpec Chart GroupsChart Groups are intended for grouping a set of charts together. Chart Group is a ChartGroup instance in Simantics ontology ( createChartGroup :: Resource -> <Proc> Resource Creates a new ChartGroup under the given  Inputs:* 
 Output: created chart group as  Example: create a chart group to an active model. 
createNamedChartGroup :: Resource -> String -> <Proc> Resource Creates a new ChartGroup under the given  Inputs: 
 Output: created chart group as  Example: create a chart group to an active model. 
chartGroupByPath :: Resource -> [String] -> <ReadGraph> Resource Browses the given Model or Chart Group using the specified name path to find a chart group. The function will fail with an exception in all error cases: 
 Inputs: 
 Output: The resulting a list whose elements are chart Resources. Example: The currently active model contains a chart group called "Chart Group". This example retrieves the  
Export subscription data as CSVdata CSVExportPlan Example of construction: 
CSVExportPlan :: Double -> Double -> DecimalSeparator -> ColumnSeparator -> Boolean -> ExportInterpolation -> Integer -> Integer -> Integer -> CSVExportPlan data SubscriptionCSVExportPlan Example of construction: 
SubscriptionCSVExportPlan :: String -> [String] -> String -> CSVExportPlan -> SubscriptionCSVExportPlan exportSubscriptionsCSV :: SubscriptionCSVExportPlan -> <Proc> () Exports subscription data as CSV values in a similar manner as the CSV Exporter provided by the user interface. The produced export will be encoded using the system default encoding
which is initialized from the  Example of usage: 
exportSubscriptionsCSVWithCharset :: SubscriptionCSVExportPlan -> String -> <Proc> () Exports subscription data as CSV values similarly to exportSubscriptionsCSV but requires also explicitly specifying the output CSV text encoding. Some usual encodings include: 
 but any other JVM-supported character set name can be provided as well. columnSeparatorFromString :: String -> <Proc> ColumnSeparator Possible arguments are: 
 decimalSeparatorFromString :: String -> <Proc> DecimalSeparator Possible arguments are: 
 exportInterpolationFromString :: String -> <Proc> ExportInterpolation Possible arguments values are: 
  |