<?xml version="1.0" encoding="utf-8"?>
<manifest manifest-version="0.1" xmlns="http://www.tableau.com/xml/extension_manifest">
  <worksheet-extension id="com.dataskera.candlestick" extension-version="1.0.0">
    <default-locale>en_US</default-locale>
    <name resource-id="name"/>
    <description resource-id="description"/>
    <author name="Dataskera" email="support@dataskera.com" organization="Dataskera" website="https://dataskera.com"/>
    <min-api-version>1.12</min-api-version>
    <source-location>
      <url>https://vizextension.dataskera.com/candlestick/candlestick.html</url>
    </source-location>
    <icon>
iVBORw0KGgoAAAANSUhEUgAAAEYAAABGCAYAAABxLuKEAAACAklEQVR4AezbMW7CMBQGYKdbuU7T
gY4wwUHgDrBkoXeAg8BExzI0vU46unGYIvmPSfxC7OSvZCn8rkze59e4VOqL4pdVgDBWFqUIQxgg
AGJ2DGGAAIgn1TGzzTl/3Z5/gEUtnhRMrXLHi6Bg2uyooy7v6aBgvKsRXKAVTEg7KmhgXaoVjHWF
kYajh5ltLtlse9FmqCR5S1SSmutqlHNoX0cPgwp35eHDuCroaZ4wALZXmNtukX/vl42/aXZ9BoB6
xOJeYcTucoCFCAPQCdMVJtRnAKhHLGbHAMqoYR459UDdzjhqGGd1Ht9AGIBHmGfBlD/32W2/1Gbc
P82q1FxXY7fIwH0EF7NjwJYQxh8GrDDSOLqOafsMK06rrDiuEjOU1r9a6dxcV6OcQ/saHQwqRDon
DBAlTKgwXZ8BoB6xmB0DKAlDGCAA4kl1THFap3/H9TuwqMWTgqlV7njhhAn11HDU5T3thPF+h0gX
IAzYuFHBgBo7xeIw88+vbH64JmbcP82q3FxXo5xruss2p0bTOhJz4jASNxXCGoQBu0AYwgABELNj
JGBCODV8Tj1gYI3ZMVYWxf9wAy6EIQwSADmfMUPAlCdI+nG4PvQXM3B/g8XsGEDfDwx4s5hiwoDd
ihqmz2dY1DBgs0ViwgBGwhAGCICYHUMYIABidgxhgACI2TEA5h8AAP//Dqf/YAAAAAZJREFUAwC4
nryNQlCGyAAAAABJRU5ErkJggg==
    </icon>
    <context-menu>
      <configure-context-menu-item />
    </context-menu>
    <encoding id="date">
      <display-name resource-id="date-name">Date</display-name>
      <data-spec>
        <data-type>temporal</data-type>
      </data-spec>
      <role-spec>
        <role-type>discrete-dimension</role-type>
        <role-type>continuous-dimension</role-type>
      </role-spec>
      <fields max-count="1"/>
      <encoding-icon token="grid" />
      <tooltip resource-id="date-tooltip">Drag a date dimension: one candle per member, its granularity is the candle period</tooltip>
    </encoding>
    <encoding id="ohlc">
      <display-name resource-id="ohlc-name">OHLC</display-name>
      <data-spec>
        <data-type>numeric</data-type>
      </data-spec>
      <role-spec>
        <role-type>continuous-measure</role-type>
        <role-type>continuous-dimension</role-type>
      </role-spec>
      <fields max-count="4"/>
      <encoding-icon token="level" />
      <tooltip resource-id="ohlc-tooltip">Four price measures (open, high, low, close), or one measure: candles are then computed per period</tooltip>
    </encoding>
    <encoding id="volume">
      <display-name resource-id="volume-name">Volume</display-name>
      <data-spec>
        <data-type>numeric</data-type>
      </data-spec>
      <role-spec>
        <role-type>continuous-measure</role-type>
        <role-type>continuous-dimension</role-type>
      </role-spec>
      <fields max-count="1"/>
      <encoding-icon token="size" />
      <tooltip resource-id="volume-tooltip">Optional: a volume measure, shown as a sub-panel</tooltip>
    </encoding>
  </worksheet-extension>
  <resources>
    <resource id="name">
      <text locale="en_US">Candlestick</text>
    </resource>
    <resource id="description">
      <text locale="en_US">Open, high, low and close over time, with an optional volume panel and moving average. For prices, and for any series tracked as first, peak, trough and last per period.</text>
    </resource>
    <resource id="date-name">
      <text locale="en_US">Date</text>
    </resource>
    <resource id="date-tooltip">
      <text locale="en_US">Drag a date dimension: one candle per member, its granularity is the candle period</text>
    </resource>
    <resource id="ohlc-name">
      <text locale="en_US">OHLC</text>
    </resource>
    <resource id="ohlc-tooltip">
      <text locale="en_US">Four price measures (open, high, low, close), or one measure: candles are then computed per period</text>
    </resource>
    <resource id="volume-name">
      <text locale="en_US">Volume</text>
    </resource>
    <resource id="volume-tooltip">
      <text locale="en_US">Optional: a volume measure, shown as a sub-panel</text>
    </resource>
  </resources>
</manifest>
