I need to create a dinamically chart, by the code-behind.
I´ll receive a DataSet, and it´ll be plotted based on these informations.
I´m creating a bar chart , so it´s necessary to set the data template from each item.
My doubt is: How can I do this? A option is use predefined data template at page´s resource.
I´ve read about the PointTemplateSelector, but I don´t know how can I manipulate it.