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
AiAssistView
to 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