This sample demonstrates how a series with a line layout type and a legend can be styled via DataTemplates. The legend contains a button to add new DataPoints. Please move mouse along the line and over the markers to see simple effects.