<?xml version="1.0" encoding="utf-8" ?>
<!--
 * @(#)DtsChart.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author:    R.Houtman
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  HMN Oct-13  e10831  First version 
 *  HMN Feb-15  e10966  R10.02
 *  HVS Sep-16  e11448  Correct paletteOrder
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->
<componentType name="dts-chart"
               containedBy="JComponent"
               icon="stock_chart-dts-16.png"
               description="DTSTrend"
               class="fasttools.jwui.components.charts.dtstrend.DtsChartSDI"
               paletteOrder="211"
               html="no">

  <category name="General">
    <property name="name" type="java.lang.String" defaultAllowed="no" connectAllowed="no" advanced="yes"/>
    <property name="toolTipText" type="java.lang.String" defaultAllowed="no" localized="no" description="DTS Trend"/>
  </category>

  <category name="Transformation">
    <property name="x" type="double" defaultAllowed="no" setter="setXAsFloat" getter="getXAsFloat" advanced="yes" html="noConnect"/>
    <property name="y" type="double" defaultAllowed="no" setter="setYAsFloat" getter="getYAsFloat" advanced="yes" html="noConnect"/>
    <property name="top" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="bottom" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="left" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="right" type="double" defaultAllowed="no" advanced="yes" html="noConnect"/>
    <property name="rotation" type="double" defaultAllowed="no"/>
    <property name="shear" type="double" defaultAllowed="no" advanced="yes"/>
  </category>

  <category name="Visibility">
    <property name="transparency" type="float"/>
    <property name="opaque" type="boolean" advanced="yes"/>
    <property name="visible" type="boolean" setter="setVisibleAsBoolean" getter="isVisibleAsBoolean" advanced="yes"/>
  </category>

  <category name="Colors">
    <property name="foregroundColor" type="fasttools.jtools.common.property.color.ColorSet"/>
    <property name="backgroundColor" type="fasttools.jtools.common.property.color.ColorSet"/>
  </category>

  <category name="Component">
    <property name="enabled" type="boolean" advanced="yes"/>
  </category>

  <category name="Zooming">
    <property name="zoomEnabled" type="boolean"/>
    <property name="zoomFactor" type="float" advanced="yes"/>
  </category>
  
  <category name="TrendInfo">
    <property name="trendName" bound="yes" writeAllowed="no" save="no" type="java.lang.String" description="The name as shown in trend properties dialog"/>
    <property name="trendDescription" bound="yes" writeAllowed="no" save="no" type="java.lang.String" description="The description as shown in trend properties dialog"/>
    <property name="trendVersion" bound="yes" writeAllowed="no" save="no" type="java.lang.String" description="The version as shown in trend properties dialog"/>
    <property name="trendGroup" bound="yes" writeAllowed="no" save="no" type="java.lang.String" description="The Trend Group as shown in trend properties dialog"/>
    <property name="trendAuthor" bound="yes" writeAllowed="no" save="no" type="java.lang.String" description="The author as shown in trend properties dialog"/>
  </category>
  
  <category name="PenColor">
    <property name="color" array="0..19" bound="yes" save="no" type="fasttools.jtools.common.property.color.ColorSet" description="The pen color" setter="setPenColor" getter="getPenColor" advanced="yes"/>
  </category>

  <category name="PenScaleType">
    <property name="scaleRangeType" array="0..19" bound="yes" save="no" type="fasttools.jwui.components.charts.trend.property.ScaleRangeType" description="How the pen scale range is determed" setter="setPenScaleRangeType" getter="getPenScaleRangeType" advanced="yes"/>
  </category>

  <category name="PenScaleMax">
    <property name="scaleMax" array="0..19" bound="yes" save="no" type="double" description="The value-scale maximum" setter="setPenScaleMax" getter="getPenScaleMax" advanced="yes"/>
  </category>

  <category name="PenScaleMin">
    <property name="scaleMin" array="0..19" bound="yes" save="no" type="double" description="The value-scale minimum" setter="setPenScaleMin" getter="getPenScaleMin" advanced="yes"/>
  </category>

  <category name="PenAxisVisible">
    <property name="axisVisible" array="0..19" bound="yes" save="no" writeAllowed="yes" type="boolean" description="The visibility of the Y axis for this pen" setter="setPenAxisVisible" getter="getPenAxisVisible" advanced="yes"/>
  </category>

  <category name="RetrievalSettings">
    <property name="updateInterval" bound="yes" writeAllowed="no" save="no" type="int" description="The interval in seconds at which the graph is updated"/>
    <property name="timeRangeMin" bound="yes" writeAllowed="no" save="no" type="double" defaultAllowed="no" description="The begin time for history retrieval" advanced="yes"/>
    <property name="timeRangeMax" bound="yes" writeAllowed="no" save="no" type="double" defaultAllowed="no" description="The end time for history retrieval" advanced="yes"/>
    <property name="timeRangeVisibleMin" bound="yes" writeAllowed="no" save="no" type="double" defaultAllowed="no" description="The visible part of the retrieved data" advanced="yes"/>
    <property name="timeRangeVisibleMax" bound="yes" writeAllowed="no" save="no" type="double" defaultAllowed="no" description="The visible part of the retrieved data" advanced="yes"/>
    <property name="refresh" bound="no" save="no" type="boolean" description="Trigger the graph to update itself. Initial refresh is always performed" advanced="yes"/>
  </category>

  <category name="Misc">
    <property name="linkPins" type="fasttools.jwui.common.property.linkpins.LinkPinsSet" defaultAllowed="no" connectAllowed="no" advanced="yes"/>
  </category>

</componentType>