I would like to pass data to my chart from an API/Controller call.
I am using the tag helper and trying to add the element <e-datamanager> but I cant. I have noticed this is not available with Razor or JS either.
I have also tried to use the DataSource attribute in the series element.
I can pass is an object from the initial controller call and it works but I would like to use an url instead.
<ej-chart id="ServerFeedbacksChart">
<e-datamanager url="/Home/DataSource" adaptor="UrlAdaptor"/>
// OR
<e-datamanager url="@Url.Link("default", new {controller = "SyncFusion", action = "ServerFeedbacksData", restaurantId = "kel"})" adaptor="UrlAdaptor"></e-datamanager>
<e-title text="Server Analysis"></e-title>
<e-primary-y-axis>
<e-title text="Server Feedbacks"></e-title>
</e-primary-y-axis>
<e-chart-series>
<e-series name="Servers"
x-name="ServerName"
y-name="ServedCount"
type="Line">
<e-chart-tooltip visible="true"></e-chart-tooltip>
</e-series>
</e-chart-series>
</ej-chart>