How to bind chart using web api in net maui

anil kumar 61 Reputation points
2023-01-21T05:49:42.59+00:00

Hello to all

I am working with chart controls in maui using syncfusion , and devexpess but both we can use only with license agreement.Is there any free chart control for maui.

I want to bind my chart control by using web api.

<dxc:PieChartView SelectionBehavior="Hatch" Grid.Column="2">
                    <dxc:PieChartView.Series>
                        <dxc:DonutSeries>
                            <dxc:DonutSeries.Data>
                                <dxc:PieSeriesDataAdapter DataSource="{Binding Transactions}"
                                              LabelDataMember="Amount"
                                              ValueDataMember="Date"/>
                            </dxc:DonutSeries.Data>
                                                         
                                    
                                        <dxc:PieSeriesLabelStyle ConnectorThickness="1">
                                            <dxc:PieSeriesLabelStyle.TextStyle>
                                                <dxc:TextStyle Color="#eff2f6" Size="12"/>
                                            </dxc:PieSeriesLabelStyle.TextStyle>
                                       c:PieSeriesLabelStyle>
                                    </dxc:PieSeriesLabel.Style>
                                </dxc:PieSeriesLabel>
                            </dxc:DonutSeries.Label>
                            <dxc:DonutSeries.HintOptions>
                               
                            </dxc:DonutSeries.HintOptions>
                        </dxc:DonutSeries>
                    </dxc:PieChartView.Series>
this is xaml code but I want it be bound with c# code.
Developer technologies .NET .NET MAUI
{count} vote

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2023-01-23T01:37:08.2733333+00:00

    Hello,

    The 3rd party plugins are not supported on Q&A right now.

    Is there any free chart control for maui.

    You could refer to this discussion: Charts and Graphs in .NET MAUI #4468.

    There are some charting plugins and official charting feature update plans.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our [documentation][1] to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.