summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bardiag/src
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/bardiag/src')
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/10.tex80
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/1a.tex23
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/1b.tex13
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/2a.tex23
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/2b.tex24
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/3.tex28
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/4.tex48
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/5.tex32
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/6.tex29
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/7.tex30
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/8.tex56
-rw-r--r--Master/texmf-dist/doc/latex/bardiag/src/9.tex29
12 files changed, 415 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/10.tex b/Master/texmf-dist/doc/latex/bardiag/src/10.tex
new file mode 100644
index 00000000000..876f6db871c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/10.tex
@@ -0,0 +1,80 @@
+\renewcommand{\betweenticks}{100}
+\renewcommand{\shownumbers}{0}
+
+\definecolor{gA}{gray}{0.5}
+\definecolor{gB}{gray}{0.7}
+\definecolor{gC}{gray}{0.9}
+
+
+\newpsstyle{diagframestyle}{linewidth=3pt,linecolor=black}
+
+\newpsstyle{stA}{linestyle=solid,hatchsep=6pt,fillstyle=vlines*}
+\newpsstyle{stB}{linestyle=solid,hatchsep=6pt,fillstyle=hlines*}
+\newpsstyle{stC}{linestyle=solid,hatchsep=6pt,fillstyle=crosshatch*}
+
+
+\bardiagrambegin{15}{1000}{2cm}{1}{4}{1cm}{0.015cm}
+ \newpsstyle{levellinestyle}{linewidth=0.5pt,linecolor=gray,linestyle=dashed}
+ \renewcommand{\barlabelangle}{0}
+
+ \barspergroup{3}
+
+ \drawlevellines
+ \baritem[style=stA]{Here}{161}{gA}
+ \subtopbaritem[style=stA]{}{250}{gB}
+ \subtopbaritem[style=stA]{}{150}{gC}
+ \subbaritem[style=stB]{}{381}{gA}
+ \subtopbaritem[style=stB]{}{200}{gB}
+ \subtopbaritem[style=stB]{}{150}{gC}
+ \subbaritem[style=stC]{}{281}{gA}
+ \subtopbaritem[style=stC]{}{200}{gB}
+ \subtopbaritem[style=stC]{}{50}{gC}
+ %
+ \baritem[style=stA]{There}{221}{gA}
+ \subtopbaritem[style=stA]{}{150}{gB}
+ \subtopbaritem[style=stA]{}{130}{gC}
+ \subbaritem[style=stB]{}{281}{gA}
+ \subtopbaritem[style=stB]{}{300}{gB}
+ \subtopbaritem[style=stB]{}{150}{gC}
+ \subbaritem[style=stC]{}{121}{gA}
+ \subtopbaritem[style=stC]{}{211}{gB}
+ \subtopbaritem[style=stC]{}{350}{gC}
+ %
+ \baritem[style=stA]{Elsewhere}{432}{gA}
+ \subtopbaritem[style=stA]{}{50}{gB}
+ \subtopbaritem[style=stA]{}{230}{gC}
+ \subbaritem[style=stB]{}{201}{gA}
+ \subtopbaritem[style=stB]{}{130}{gB}
+ \subtopbaritem[style=stB]{}{90}{gC}
+ \subbaritem[style=stC]{}{191}{gA}
+ \subtopbaritem[style=stC]{}{88}{gB}
+ \subtopbaritem[style=stC]{}{222}{gC}
+ %
+ \baritem[style=stA]{on Mars}{232}{gA}
+ \subtopbaritem[style=stA]{}{150}{gB}
+ \subtopbaritem[style=stA]{}{330}{gC}
+ \subbaritem[style=stB]{}{301}{gA}
+ \subtopbaritem[style=stB]{}{230}{gB}
+ \subtopbaritem[style=stB]{}{190}{gC}
+ \subbaritem[style=stC]{}{91}{gA}
+ \subtopbaritem[style=stC]{}{188}{gB}
+ \subtopbaritem[style=stC]{}{322}{gC}
+
+ %
+ % we can call
+ \diagLegendoptions{white}{white}{0pt}
+ % to produce a legend without a frame
+%
+ \diagLegendbegin{1}{980}{3.5}
+ \diagLegenditem[style=stA]{19.12.2002}{white}
+ \diagLegenditem[style=stB]{06.05.2003}{white}
+ \diagLegenditem[style=stC]{01.02.2004}{white}
+ \diagLegendend
+ %
+ \diagLegendbegin{5}{980}{3.5}
+ \diagLegenditem{first try}{gA}
+ \diagLegenditem{second try}{gB}
+ \diagLegenditem{third try}{gC}
+ \diagLegendend
+
+\bardiagramend{}{\large Number of smth}
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/1a.tex b/Master/texmf-dist/doc/latex/bardiag/src/1a.tex
new file mode 100644
index 00000000000..17a0464a57c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/1a.tex
@@ -0,0 +1,23 @@
+%this is the way to redefine styles
+% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+
+\renewcommand{\betweenticks}{200}
+\bardiagrambegin{9.5}{1000}{2cm}{1}{2}{1cm}{0.01cm}
+ \drawlevellines
+ \baritem{Jelger}{721}{green}
+ \baritem{Johan}{412}{red}
+ \baritem{Rikkert}{810}{yellow}
+ \baritem{Henk}{310}{green}
+ \baritem{Erwin}{542}{red}
+ %
+ % we can call
+ % \diagLegendoptions{yellow}{red}{0.5pt}
+ % to produce a legend with yellow background with red frame
+ % with linewidth=0.5pt
+ %
+ \diagLegendbegin{5.63}{970.3}{5.0}
+ \diagLegenditem{Full year}{green}
+ \diagLegenditem{Less than a year}{red}
+ \diagLegenditem{Less than 6 months}{yellow}
+ \diagLegendend
+\bardiagramend{}{\large Jobs Submitted} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/1b.tex b/Master/texmf-dist/doc/latex/bardiag/src/1b.tex
new file mode 100644
index 00000000000..9d52566a555
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/1b.tex
@@ -0,0 +1,13 @@
+% one more diagram, but with other parameters
+\renewcommand{\placenumber}{\bottom}
+\renewcommand{\betweenticks}{150}
+\renewcommand\numbercolor{\black\bf}
+
+\bardiagrambegin{10}{1000}{2cm}{1}{2}{1cm}{0.01cm}
+ \baritem{Jelger}{721}{green}
+ \baritem{Johan}{412}{red}
+ \baritem{Rikkert}{810}{yellow}
+ \baritem{Henk}{310}{wheat}
+ \baritem{Erwin}{542}{blue}
+ \drawlevellines
+\bardiagramend{\large Cluster Users}{\large Jobs Submitted} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/2a.tex b/Master/texmf-dist/doc/latex/bardiag/src/2a.tex
new file mode 100644
index 00000000000..f8279b05a85
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/2a.tex
@@ -0,0 +1,23 @@
+% The same kind of thing as fig 1, but with real numbers
+ %this is the way to redefine styles
+ % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+ \renewcommand{\betweenticks}{10}
+ \bardiagrambegin{9.2}{45}{2cm}{1}{2}{1cm}{0.2cm}
+ \drawlevellines
+ \baritem{Jelger}{21.5}{green}
+ \baritem{Johan}{12.7}{red}
+ \baritem{Rikkert}{10}{yellow}
+ \baritem{Henk}{31}{green}
+ \baritem{Erwin}{42}{red}
+ %
+ % we call
+ \diagLegendoptions{verylightgray}{black}{0.5pt}
+ % to produce a legend with verylightgray background with black frame
+ % with linewidth=0.5pt
+ %
+ \diagLegendbegin{0.5}{42}{5.0}
+ \diagLegenditem{Full year}{green}
+ \diagLegenditem{Less than a year}{red}
+ \diagLegenditem{Less than 6 months}{yellow}
+ \diagLegendend
+ \bardiagramend{}{\large Activity (\%)} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/2b.tex b/Master/texmf-dist/doc/latex/bardiag/src/2b.tex
new file mode 100644
index 00000000000..ace60bd3df4
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/2b.tex
@@ -0,0 +1,24 @@
+% The same kind of thing as fig 1, but with real numbers
+ %this is the way to redefine styles
+ \newpsstyle{tickstyle}{linewidth=1pt,linecolor=blue}
+ \renewcommand{\betweenticks}{0.2}
+ \renewcommand\placenumber{\overtop}
+ \bardiagrambegin{10.3}{1}{2cm}{2}{2}{1cm}{10cm}
+ \drawlevellines
+ \baritem{Jelger}{0.5}{green}
+ \baritem{Johan}{0.7}{red}
+ \baritem{Rikkert}{0.8}{yellow}
+ \baritem{Henk}{0.3}{green}
+ \baritem{Erwin}{0.5}{red}
+ %
+ % we can call
+ % \diagLegendoptions{yellow}{red}{0.5pt}
+ % to produce a legend with yellow background with red frame
+ % with linewidth=0.5pt
+ %
+% \diagLegendbegin{6}{970}{5.0}
+% \diagLegenditem{Full year}{green}
+% \diagLegenditem{Less than a year}{red}
+% \diagLegenditem{Less than 6 months}{yellow}
+% \diagLegendend
+ \bardiagramend{}{\large Fraction of Jobs Active} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/3.tex b/Master/texmf-dist/doc/latex/bardiag/src/3.tex
new file mode 100644
index 00000000000..66722fff424
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/3.tex
@@ -0,0 +1,28 @@
+ %this is the way to redefine styles
+ % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+ %
+ \renewcommand{\betweenticks}{100}
+ \renewcommand{\shownumbers}{0}
+ \newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=yellow}
+ \bardiagrambegin{15}{1000}{2cm}{1}{3}{1cm}{0.015cm}
+ \drawlevellines
+ \baritem{}{721}{\onecol}
+ \subbaritem{Jelger}{500}{\twocol}
+ \baritem{}{412}{\onecol}
+ \subbaritem{Johan}{500}{\twocol}
+ \baritem{}{810}{\onecol}
+ \subbaritem{Rikkert}{500}{\twocol}
+ \baritem{}{310}{\onecol}
+ \subbaritem{Henk}{500}{\twocol}
+ \baritem{}{0}{\onecol}
+ \subbaritem{New Guy}{542}{\twocol}
+ %
+ % we can call
+ \diagLegendoptions{yellow}{yellow}{0.0pt}
+ % to produce a legend with yellow background with yellow frame
+ %
+ \diagLegendbegin{10}{890}{3.5}
+ \diagLegenditem{19.12.2002}{\onecol}
+ \diagLegenditem{06.05.2003}{\twocol}
+ \diagLegendend
+ \bardiagramend{\large Cluster Users}{\large Jobs Submitted} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/4.tex b/Master/texmf-dist/doc/latex/bardiag/src/4.tex
new file mode 100644
index 00000000000..b7bcfbf9883
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/4.tex
@@ -0,0 +1,48 @@
+\def\onecol{red}
+\def\twocol{palegreen}
+
+\renewcommand{\tdx}{0.5} % depth of 3d
+\renewcommand{\tdy}{30}
+
+\newcommand{\mybar}[3]
+{ \renewcommand\numbercolor{\white\bf}
+ \baritem{#1}{#2}{#3}
+}
+\newcommand{\mysubbar}[3]
+{ \renewcommand\numbercolor{\black\bf}
+ \subbaritem{#1}{#2}{#3}
+}
+
+%\renewcommand{\ActiveBarPrimitive}{\barTDRect}
+%\renewcommand{\ActiveBarPrimitive}{\barCylinder}
+%-------------------------------------------------------
+%this is the way to redefine styles
+% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+%
+\renewcommand{\placenumber}{\belowtop}
+\renewcommand{\betweenticks}{200}
+%
+\newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
+%
+\bardiagrambegin{15}{1000}{3cm}{1}{3}{1cm}{0.007cm}
+ \mybar{}{721}{\onecol}
+ \mysubbar{Jelger}{500}{\twocol}
+ \mybar{}{412}{\onecol}
+ \mysubbar{Johan}{500}{\twocol}
+ \mybar{}{810}{\onecol}
+ \mysubbar{Rikkert}{500}{\twocol}
+ \mybar{}{310}{\onecol}
+ \mysubbar{Henk}{500}{\twocol}
+ \mybar{}{0}{\onecol}
+ \mysubbar{New Guy}{542}{\twocol}
+ \drawlevellines
+ % Legend
+ %\diagLegendoptions{yellow}{yellow}{0.0pt}
+ %
+ \diagLegendbegin{10}{890}{3.5}
+ \renewcommand{\legendShadow}{1} % by default there is no
+ % shadow in 2D diagram
+ \diagLegenditem{19.12.2002}{\onecol}
+ \diagLegenditem{06.05.2003}{\twocol}
+ \diagLegendend
+\bardiagramend{\large Cluster Users}{\large Jobs Submitted} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/5.tex b/Master/texmf-dist/doc/latex/bardiag/src/5.tex
new file mode 100644
index 00000000000..0f07a8bf0fb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/5.tex
@@ -0,0 +1,32 @@
+\renewcommand{\tdx}{0.5} % depth of 3d
+\renewcommand{\tdy}{30}
+
+\def\onecol{red}
+\def\twocol{green}
+%-------------------------------------------------
+ %this is the way to redefine styles
+ % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+ %
+ \newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
+ \renewcommand\numbercolor{\black\bf}
+ \renewcommand{\betweenticks}{200}
+ \bardiagrambegin{15}{1000}{3cm}{1}{3}{1cm}{0.01cm}
+ \baritem{}{721}{\onecol}
+ \subbaritem{Jelger}{500}{\twocol}
+ \baritem{}{412}{\onecol}
+ \subbaritem{Johan}{500}{\twocol}
+ \baritem{}{810}{\onecol}
+ \subbaritem{Rikkert}{500}{\twocol}
+ \baritem{}{310}{\onecol}
+ \subbaritem{Henk}{500}{\twocol}
+ \baritem{}{0}{\onecol}
+ \subbaritem{New Guy}{542}{\twocol}
+ \drawlevellines
+ % Legend
+ %\diagLegendoptions{yellow}{yellow}{0.0pt}
+ %
+ \diagLegendbegin{10}{890}{3.5}
+ \diagLegenditem{19.12.2002}{\onecol}
+ \diagLegenditem{06.05.2003}{\twocol}
+ \diagLegendend
+ \bardiagramend{\large Cluster Users}{\large Jobs Submitted} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/6.tex b/Master/texmf-dist/doc/latex/bardiag/src/6.tex
new file mode 100644
index 00000000000..81a80b2d933
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/6.tex
@@ -0,0 +1,29 @@
+\renewcommand{\tdx}{1.2} % depth of 3d
+\renewcommand{\tdy}{6}
+
+\def\onecol{red}
+\def\twocol{green}
+\def\threecol{lightblue}
+%-------------------------------------------------------
+
+%this is the way to redefine styles
+% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+%
+\newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
+\bardiagrambegin{14}{100}{3cm}{1}{5}{1cm}{0.1cm}
+ \baritem{1990}{72}{\onecol}
+ \subbaritem{2000}{50}{\twocol}
+ \subbaritem{2010}{63}{\threecol}
+ \baritem{1990}{81}{\onecol}
+ \subbaritem{2000}{99}{\twocol}
+ \subbaritem{2010}{50}{\threecol}
+ \baritem{1990}{41}{\onecol}
+ \subbaritem{2000}{30}{\twocol}
+ \subbaritem{2010}{21}{\threecol}
+\bardiagramend{\parbox{14cm}{\vspace{-1.5cm}\hspace{-1cm}
+ \begin{tabular}{p{4.5cm}p{4.5cm}p{4.5cm}}
+ \centering Alpha's & \centering Beta's & \centering Gamma's
+ \end{tabular}
+ \\[0.6cm]
+ \centering \large Year}}
+ {\large Graduated (\%)} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/7.tex b/Master/texmf-dist/doc/latex/bardiag/src/7.tex
new file mode 100644
index 00000000000..c87af2e7ef5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/7.tex
@@ -0,0 +1,30 @@
+\def\onecol{red}
+\def\twocol{green}
+\def\threecol{lightblue}
+
+\renewcommand{\tdx}{0.5} % depth of 3d
+\renewcommand{\tdy}{4}
+%------------------------------------------------------------------
+ %this is the way to redefine styles
+ % \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+ %
+ \newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
+ \bardiagrambegin{13}{100}{3cm}{2}{7}{1cm}{0.1cm}
+ \baritem{1990}{72}{\onecol}
+ \subbaritem{2000}{50}{\twocol}
+ \subbaritem{2010}{63}{\threecol}
+ \baritem{1990}{81}{\onecol}
+ \subbaritem{2000}{99}{\twocol}
+ \subbaritem{2010}{50}{\threecol}
+% \baritemCYL{1990}{41}{\onecol}
+% \subbaritemTD{2000}{30}{\twocol}
+% \subbaritemTD{2010}{21}{\threecol}
+ %\drawlevellines
+ \bardiagramend
+ {\parbox{14cm}{\vspace{-1.5cm}\hspace{-0.7cm}
+ \begin{tabular}{p{7cm}p{6cm}}
+ \centering Alpha's & \centering Beta's
+ \end{tabular}
+ \\[0.6cm]
+ \centering \large Year}}
+ {\large Graduated (\%)} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/8.tex b/Master/texmf-dist/doc/latex/bardiag/src/8.tex
new file mode 100644
index 00000000000..dbb0604fd68
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/8.tex
@@ -0,0 +1,56 @@
+\renewcommand{\tdx}{1.2} % depth of 3d
+\renewcommand{\tdy}{6}
+
+\def\onecol{red}
+\def\onetopcol{blue}
+\def\twocol{red}
+\def\twotopcol{blue}
+\def\threecol{red}
+\def\threetopcol{blue}
+%-------------------------------------------------------
+
+%this is the way to redefine styles
+% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+%
+\newpsstyle{diagframestyle}{linewidth=1pt,linecolor=black,fillcolor=white}
+\renewcommand{\betweenticks}{10}
+\renewcommand\numbercolor{\white\bf}
+\renewcommand{\placenumber}{\bottom}
+
+\bardiagrambegin{14}{100}{3cm}{1}{5}{1cm}{0.1cm}
+\drawlevellines
+ \baritem{1990}{32}{\onecol}
+ \subtopbaritem{}{40}{\onetopcol}
+ \subbaritem{2000}{20}{\twocol}
+ \subtopbaritem{}{30}{\twotopcol}
+ \subbaritem{2010}{13}{\threecol}
+ \subtopbaritem{}{50}{\threetopcol}
+ %---
+ \baritem{1990}{21}{\onecol}
+ \subtopbaritem{}{60}{\onetopcol}
+ \subbaritem{2000}{25}{\twocol}
+ \subtopbaritem{}{64}{\twotopcol}
+ \subbaritem{2010}{58}{\threecol}
+ \subtopbaritem{}{32}{\threetopcol}
+ %---
+ \baritem{1990}{22}{\onecol}
+ \subtopbaritem{}{19}{\onetopcol}
+ \subbaritem{2000}{12}{\twocol}
+ \subtopbaritem{}{18}{\twotopcol}
+ \subbaritem{2010}{9}{\threecol}
+ \subtopbaritem{}{12}{\threetopcol}
+ % Legend
+ %\diagLegendoptions{yellow}{yellow}{0.0pt}
+ %
+ \diagLegendbegin{11}{90}{2.5}
+ \diagLegenditem{girls}{\onecol}
+ \diagLegenditem{boys}{\onetopcol}
+ \diagLegendend
+
+\bardiagramend{\parbox{14cm}{\vspace{-1.5cm}\hspace{-1cm}
+ \begin{tabular}{p{4.5cm}p{4.5cm}p{4.5cm}}
+ \centering Alpha's & \centering Beta's & \centering Gamma's
+ \end{tabular}
+ \\[0.6cm]
+ \centering \large Year}}
+ {\large Graduated (\%)} \ No newline at end of file
diff --git a/Master/texmf-dist/doc/latex/bardiag/src/9.tex b/Master/texmf-dist/doc/latex/bardiag/src/9.tex
new file mode 100644
index 00000000000..4c3396bb12c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/bardiag/src/9.tex
@@ -0,0 +1,29 @@
+%this is the way to redefine styles
+% \newpsstyle{mytickstyle}{linewidth=1pt,linecolor=blue}
+
+\renewcommand{\betweenticks}{200}
+\bardiagrambegin{9.5}{1000}{2cm}{1}{2}{1cm}{0.01cm}
+ \drawlevellines
+ \renewcommand{\placenumber}{\overtop}
+ \newpsstyle{fillukr}{linestyle=solid,hatchsep=4pt,fillstyle=vlines*}
+ \newpsstyle{fillrus}{linestyle=solid,hatchsep=8pt,fillstyle=crosshatch*}
+ \newpsstyle{filloth}{linestyle=solid,hatchsep=8pt,fillstyle=hlines*}
+ \baritem[style=fillukr]{Kiev}{421}{gray}
+ \baritem[style=fillukr]{Odessa}{712}{lightgray}
+ \baritem[style=fillrus]{Moscow}{510}{gray}
+ \baritem[style=fillrus]{Bryansk}{310}{lightgray}
+ \baritem[style=filloth]{New-York}{542}{lightgray}
+ %
+ % we can call
+ % \diagLegendoptions{yellow}{red}{0.5pt}
+ % to produce a legend with yellow background with red frame
+ % with linewidth=0.5pt
+ %
+ \diagLegendbegin{5.6}{980}{4.5}
+ \diagLegenditem{during 6 months}{gray}
+ \diagLegenditem{during a year}{lightgray}
+ \diagLegenditem[style=fillukr]{Ukrainian cities}{white}
+ \diagLegenditem[style=fillrus]{Russian cities}{white}
+ \diagLegenditem[style=filloth]{other cities}{white}
+ \diagLegendend
+\bardiagramend{}{\large Stars Fallen}