Feb 20, 2015 at 8:50 PM
Edited Feb 20, 2015 at 8:52 PM
I am trying to create a wrapper control that will allow developers to create the chart in ASPX markup instead of code behind. I got a basic chart working but running into a few issues:
- How to make Number? properties be settable in the markup? By default, ASP.NET can not auto convert LineWidth="0" in the markup to Number type.
- Object properties need to be marked with PersistenceMode = Inner Property tag.
For example, a simple bar chart can be created using:
<chart:ChartContainer ID="chartTest" runat="server">
<Title Text="YAxis Title"></Title>