% Copyright 2008 by Till Tantau
%
% This file may be distributed and/or modified
%
% 1. under the LaTeX Project Public License and/or
% 2. under the GNU Public License.
%
% See the file doc/generic/pgf/licenses/LICENSE for more details.

\ProvidesFileRCS[v\pgfversion] $Header: /cvsroot/pgf/pgf/generic/pgf/frontendlayer/tikz/libraries/datavisualization/tikzlibrarydatavisualization.barcharts.code.tex,v 1.2 2008/07/21 06:22:22 tantau Exp $

\usetikzlibrary{datavisualization}
\usepgflibrary{datavisualization.barcharts}


\tikzdatavisualizationset{%
  candle stick plot/.style={
    new object={
      store=/tikz/data visualization/count,
      class=count,
      arg1=day
    },
    new axis=y axis,
    y axis/source=dax,
    y axis/source max=100,
    y axis/vec=\pgfqpoint{0cm}{1cm},
    new object={
      store=/tikz/data visualization/x line trans,
      class=line transformer,
      arg1=day,
      arg2=\pgfqpoint{3mm}{0mm}
    },
    new object={
      store=/tikz/data visualization/index,
      class=candle stick visualizer,
      arg1 from key=index/source
    },
  },
  index/source/.initial=index,
}


\endinput
