I could not quite understand why you need to create the chart in code-behind or the problem that you encountered while you were trying to create it. Basically, what you need to do, is create the appropriate SeriesMapping
and supply the data to the chart control.
Please note that in this case, you need to use a categorical x-axis
In case you need additional help with that, please open a formal support ticket and send us a simple running project that demonstrates your setup, as well as detailed information on the current and expected results.
All the best,
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>