|
ContentsChart module documentationChartChart represents a TimeSeriesChart instance in Simantics ontology (http://www.simantics.org/Charts-1.2/TimeSeriesChart). Instances of Chart can be used as a parameter in SCL functions. createChart :: Resource -> <Proc> Resource Creates a new Chart to the default Charts folder under the given Model parameter. Returns the created Chart. createChartInGroup :: Resource -> <Proc> Resource Creates a new Chart under the given ChartGroup parameter. Returns the created Chart. chartsOf :: Resource -> <ReadGraph> [Resource] Browses the given Model for its Charts and then returns them in a list. ChartItemChartItem represents an Item instance in Simantics ontology (http://www.simantics.org/Charts-1.2/Chart/Item). Instances of ChartItem can be used as a parameter in SCL functions. addChartItems :: Resource -> Variable -> <WriteGraph> Resource Creates new chartItem with the given Variable to the given Chart and returns the created ChartItem. New Subscription item is created at the same time. linkSubToChart :: Resource -> Resource -> <WriteGraph> Resource Links the given Subscription to the given chart and returns the created ChartItem. ChartGroupChartGroup represents a ChartGroup instance in Simantics ontology (http://www.simantics.org/Charts-1.2/ChartGroup). Instances of ChartGroup can be used as a parameter in SCL functions. createChartGroup :: Resource -> <Proc> Resource Creates a new ChartGroup under the given Model parameter. Returns the created ChartGroup. 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 Example of usage:
columnSeparatorFromString :: String -> <Proc> ColumnSeparator Possible arguments are:
decimalSeparatorFromString :: String -> <Proc> DecimalSeparator Possible arguments are:
exportInterpolationFromString :: String -> <Proc> ExportInterpolation Possible arguments are:
Undocumented entities |