The chart legend property is not working at all for my chart using Razor syntax. I'm using the latest version of Telerik.UI.for.AspNet.Core 2023.3.1114.
<chart-legend position="ChartLegendPosition.Top" visible="false" />
I'm trying to hide the legend and it still shows setting visible to false. Also, the property position is not working. No matter what I set it to the legend is on the bottom.
Here is the full code for the chart.
<kendo-chart name="chartDeliveryOrder">
<chart-area background="transparent"></chart-area>
<category-axis>
<category-axis-item>
<labels font="16px 'Nunito Sans'" />
<major-grid-lines visible="false" />
</category-axis-item>
</category-axis>
<series>
<series-item type="ChartSeriesType.Column" category-field="DeliveryOrderNumber"
field="SumTask1Through21Total" name="Tasks 1-21 Total" color="#1C355E" visible-in-legend="false" />
</series>
<value-axis>
<value-axis-item name="" type="numeric" min="0">
<labels format="C" font="16px 'Nunito Sans'" />
<line visible="false" />
<major-grid-lines visible="true" />
</value-axis-item>
</value-axis>
<datasource>
<transport>
<read type="post" url="@Url.Action("DeliveryOrderActualsSummaryChart", "Chart")" data="additionalInfo" />
</transport>
</datasource>
<chart-legend position="ChartLegendPosition.Top" visible="false" />
<chart-title text="Delivery Order Summary" font="28px 'Nunito Sans, Bold'" />
<tooltip visible="true" format="C" font="16px 'Nunito Sans'" />
</kendo-chart>