EventLabels

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:
  • dateassociate label with a date

Examples

Basic Examples  (3)

KagiChart with two dates labeled:

Use Placed to control the positioning of labels:

Label a trading chart with news:

Wolfram Research (2010), EventLabels, Wolfram Language function, https://reference.wolfram.com/language/ref/EventLabels.html.

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_2023_eventlabels, author="Wolfram Research", title="{EventLabels}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/EventLabels.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_eventlabels, organization={Wolfram Research}, title={EventLabels}, year={2010}, url={https://reference.wolfram.com/language/ref/EventLabels.html}, note=[Accessed: 19-March-2024 ]}