<?xml version="1.0" encoding="utf-8" ?>
<!--
 * @(#)MicroTrend.xml
 *
 * Copyright: Yokogawa, All rights reserved.
 * YOKOGAWA PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * Author: Naveen Kumar
 *
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Changes ....
 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 *  Who When    Change  What
 *  KMR Sep-16  e11448  First Version
 *  BNL Jul-18  e11986  Edit Module HTML Mode
 *  VNU Sep-18  e11987  Enabled HTML component
 *  VNU Jan-19  e11986  Set HTML properties
 *  BNL Feb-19  e11986  Disallow connection to positional properties in HTML mode
 *  HVS Jun-20  e12272  Port to JViews 2017.2
 *
-->
<componentType name="microTrend"
               containedBy="JComponent"
               icon="ged_micro_trend.png"
               description="MicroTrend"
               class="fasttools.jwui.components.charts.trend.MicroTrend"
               paletteOrder="212"
               html="yes">

  <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="yes" description="This is the tooltip text"/>
  </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="microTrendBackgroundFillColor" type="fasttools.jtools.common.property.color.ColorSet"/>
    <property name="microTrendBackgroundFillOn" type="boolean" advanced="yes"/>
    <property name="microTrendBackgroundColor" type="fasttools.jtools.common.property.color.ColorSet"/>
    <property name="microTrendBackgroundStroke" type="fasttools.jtools.common.property.stroke.StrokeSet" advanced="yes"/>
    <property name="microTrendBackgroundStrokeOn" type="boolean" advanced="yes"/>
  </category>

  <category name="Zooming">
    <property name="zoomEnabled" type="boolean" html="no" />
    <property name="zoomFactor" type="float" advanced="yes" html="no"/>
  </category>

  <category name="MicroTrendInfo">
    <property name="numberOfPens" type="int" defaultAllowed="no" connectAllowed="yes" advanced="yes"/>
    <property name="microTrendLowLimit" save="yes" type="double" setter="setLowLimit" getter="getLowLimit" description="The value-Low Limit" advanced="yes"/>
    <property name="microTrendHighLimit" save="yes" type="double" setter="setHighLimit" getter="getHighLimit" description="The value-High Limit" advanced="yes"/>
    <property name="lowHighFillOn" type="boolean" description="Enable filling of low-High Area" advanced="yes"/>
    <property name="lowHighFillColor" type="fasttools.jtools.common.property.color.ColorSet" null="default" />
    <property name="microTrendLowLowLimit" save="yes" type="double" setter="setLowLowLimit" getter="getLowLowLimit" description="The value-Low-Low Limit" advanced="yes"/>
    <property name="lowLowLimitColor" type="fasttools.jtools.common.property.color.ColorSet" description="Low-Low limit color" advanced="yes"/>
    <property name="lowLowLimitStroke" type="fasttools.jtools.common.property.stroke.StrokeSet" description="Low-Low limit stroke" advanced="yes"/>
    <property name="microTrendHighHighLimit" save="yes" type="double" setter="setHighHighLimit" getter="getHighHighLimit" description="The value-High-High Limit" advanced="yes"/>
    <property name="highHighLimitColor" type="fasttools.jtools.common.property.color.ColorSet" description="High-High limit color" advanced="yes"/>
    <property name="highHighLimitStroke" type="fasttools.jtools.common.property.stroke.StrokeSet" description="High-High limit stroke" advanced="yes"/>
  </category>

  <category name="PenItem">
    <property name="itemName" array="0..3" save="yes" type="java.lang.String" description="The Item name" advanced="yes"/>
  </category>

  <category name="PenColor">
    <property name="color" array="0..3" save="yes" type="fasttools.jtools.common.property.color.ColorSet" description="The pen color" advanced="yes"/>
  </category>

  <category name="PenStroke">
    <property name="stroke" array="0..3" save="yes" type="fasttools.jtools.common.property.stroke.StrokeSet" description="Stroke of pen" advanced="yes"/>
  </category>

  <category name="PenScaleMax">
    <property name="scaleMax" array="0..3" save="yes" type="double" description="The value-scale maximum" advanced="yes"/>
  </category>

  <category name="PenScaleMin">
    <property name="scaleMin" array="0..3" save="yes" type="double" description="The value-scale minimum" advanced="yes"/>
  </category>

  <category name="RetrievalSettings">
    <property name="realTime" type="boolean" description="Enable real time updating"/>
    <property name="timeRange" type="int" description="The width of the time axis (seconds)"/>
    <property name="sampleCount" type="int" description="The number of samples to show" advanced="yes"/>
    <property name="fillWithHistory" type="boolean" description="First fill with history"/>
  </category>

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

</componentType>