absent: ext-cartesianChart's legendConfig inner property
Found: Ext.NET 7.0.0-preview4_2020-07-21.
There's no <legendConfig /> tag within the ext-cartesianChart component, and the closer to it does not work.
From this Ext.NET 5 markup:
<ext:CartesianChart runat=server>
<LegendConfig dock="Bottom" />
</ext:CartesianChart>
One would derive:
<ext-cartesianChart>
<legend>
<ext-chartLegend dock="Ext.Net.Dock.Bottom" />
</legend>
</ext-cartesianChart>
Besides the dock setting not being clean, and intellisense suggesting a lot of settings, one "accepted" setting is Ext.Net.Dock.Bottom; which is okay, but following other enum properties throughout Ext.NET could be simplified to just dock="bottom".
Furthermore the <legend /> block is not accepted within the context with the message: `Element 'legend' cannot be nested inside element 'form', given the context:
<html>
<head>
<title></title>
</head>
<body>
<form>
<ext-cartesianChart>
<legend>
<ext-chartLegend dock="Ext.Net.Dock.Bottom" />
</legend>
</ext-cartesianChart>
</form>
</body>
</html>
The discussion on LegendConfig ==> legend > ext-chartLegend has a point in #1801. If that's something that shouldn't really be overridden, or doesn't need the artifice to allow overriding/extending, then the shorter syntax, less nested one, may be better (shorter) for a user-experience perspective.
WebForms examples matching LegendConfig
- Chart > Area > Stacked
- Chart > Area > Stacked_100
- Chart > Bar > Grouped
- Chart > Bar > Stacked
- Chart > Bar > Stacked_100
- Chart > Column > Stacked
- Chart > Column > Stacked_100
- Chart > Combination > Custom_Theme
- Chart > Combination > Pareto
- Chart > Line > Image_Markers
- Chart > Line > Marked_Spline
- Chart > Line > Markers
- Chart > Line > Multiple_Axes
- Chart > Pie > Basic
- Chart > Radar > Fill
- Chart > Radar > Marked
- Desktop > Introduction > Overview