This project demonstrates how to use natural language and AI (via Azure OpenAI) to dynamically generate interactive charts in a .NET MAUI application, powered by the Syncfusion Toolkit for .NET MAUI.
It features a chatbot-like UI that accepts natural language input, generates chart data using Azure OpenAI, and displays it as a fully styled, interactive chart.
- πΈ Natural language input to request chart creation
- πΈ AI response parsing using Azure OpenAI's GPT model
- πΈ JSON-to-chart conversion via data binding
- πΈ Built-in themes and templates using Syncfusion MAUI Toolkit
- πΈ Uses
AiAssistViewto mimic ChatGPT-like experience - πΈ Chart export as image
- .NET MAUI
- Syncfusion .NET MAUI Toolkit
- Azure OpenAI Service
- VS Code (optional)
- User inputs a chart request in natural language.
- A prompt is structured and sent to the Azure OpenAI service.
- The AI returns a JSON string describing chart data and settings.
- The app deserializes the JSON and binds it to Syncfusion chart controls.
- The chart is rendered interactively using Syncfusion's visual components.
- .NET 8 SDK with MAUI workload
- Visual Studio Code or Visual Studio 2022+
- An active Azure subscription
- Access to Azure OpenAI
