EventLabels

EventLabels
is an option to CandlestickChart, KagiChart, and similar functions that specifies events to labels.

DetailsDetails

  • EventLabels->{event1->lbl1, event2->lbl2, ...} specifies that should have label .
  • The can be any strings, graphics, or other static or dynamic expressions.
  • Positioning and other effects in labels can be specified using Placed.
  • The following events can be used:
  • dateassociate label with a date

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

KagiChart with two dates labeled:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input

Use Placed to control the positioning of labels:

In[1]:=
Click for copyable input
Out[1]=

Label a trading chart with news:

In[1]:=
Click for copyable input
Out[1]=
New in 8
New to Mathematica? Find your learning path »
Have a question? Ask support »