is an option to CandlestickChart, KagiChart, and similar functions that specifies events to labels.
EventLabels
is an option to CandlestickChart, KagiChart, and similar functions that specifies events to labels.
Details
- EventLabels->{event1->lbl1,event2->lbl2,…} specifies that eventi should have label lbli.
- The lbli 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:
-
date associate label with a date
Examples
Basic Examples (3)
KagiChart with two dates labeled:
KagiChart[{"IBM", {{2010, 1, 1}, {2010, 1, 15}}}, 0.01, EventLabels -> {{2010, 1, 5} -> "●", {2010, 1, 13} -> "■"}]Use Placed to control the positioning of labels:
RenkoChart[{"IBM", {{2010, 1, 1}, {2010, 1, 15}}}, EventLabels -> {{2010, 1, 5} -> Placed["→", Before], {2010, 1, 13} -> Placed["↓", Above]}]Label a trading chart with news:
TradingChart[{"BIDU", {{2010, 5, 1}, {2010, 5, 31}}}, EventLabels -> {{2010, 5, 11} -> Placed["10:1 stock split", Above]}]
| |
Related Guides
History
Text
Wolfram Research (2010), EventLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/EventLabels.html.
CMS
Wolfram Language. 2010. "EventLabels." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EventLabels.html.
APA
Wolfram Language. (2010). EventLabels. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/EventLabels.html
BibTeX
@misc{reference.wolfram_2026_eventlabels, author="Wolfram Research", title="{EventLabels}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/EventLabels.html}", note=[Accessed: 13-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_eventlabels, organization={Wolfram Research}, title={EventLabels}, year={2010}, url={https://reference.wolfram.com/language/ref/EventLabels.html}, note=[Accessed: 13-June-2026]}