Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Hy
i am using RadhtmlChart and i want to fill RadhtmlChart programmatically using simple SQL request.
thank you very much
Hi Olivier,
I advise that you start from the following articles to see how data binding the control works:
The examples show a declared control, but you can easily create it in the code-behind like any other control.
If you will also be obtaining the data in the code-behind, the following article shows how you can data bind the chart to a custom structure: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/data-binding/generic-list-of-custom-objects and the following one shows hot to use a DataSet: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/data-binding/dataset.
You may also find useful the following article on creating series items programmatically and mixing that with data binding: http://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/data-binding/setting-explicit-items. Regards,