# Is this a bug in TimelinePlot?

The function TimelinePlot has the option for "Alignment":

    Alignment /. Options[Labeled]


Results in:

    {Center, Baseline}


But if one tries to plug the options into a simple plot:

    TimelinePlot[
{Labeled[Interval[{{2017, 1, 1}, {2018, 1, 1}}]
, "Test"
, Alignment -> {Center, Baseline}
]}]


I get the error:

Thank you for any suggestions!

Sincerely,

Mark

(Windows 7 and Mathematica 11.1.1.0)

• I have tried different permutations of the parameters provided in the help page for alignment and can't find a format that is accepted. I expected that the default values (provided in the Options) would work. – xsk8rat Jun 30 '17 at 22:38
• It appears that, as a "wrapper," TimelinePlot treats Labeled in a special way (see also BarChart). All of the examples in the documentation for TimelinePlot are not valid uses of Labeled. In particular, it uses the position keywords, Above, Below, Before, After, and Automatic that are not valid in a standalone Labeled. Given those differences, it is not clear that Labeled inside TimelinePlot has the same Labeled options. – Michael E2 Jul 1 '17 at 1:06
• – Michael E2 Jul 1 '17 at 1:07
• Thank you for the observation and related @Michael E2 ! – xsk8rat Jul 1 '17 at 1:41