We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Graph doesn't show the data

Hello

I 've made a graph with blazor but it doesn't show the data. Very tricky if I cut one section of code and paste it somewhere below it works. I 've add a gif to make it easier to understand.


Can somebody help me plz


Olivier


Attachment: synfusion_error_with_graph_38868723.zip

1 Reply

DG Durga Gopalakrishnan Syncfusion Team November 9, 2022 03:28 PM UTC

Hi Olivier,


Greetings from Syncfusion.


We have ensured your reported scenario with attached GIF. The ChartPrimaryXAxis and ChartPrimaryYAxis properties are chart direct properties, so those properties need to be specified inside SfChart tag and it should not be specified inside ChartSeries.


We have prepared sample based on your requirement. Please check with the below snippet and screenshot.


<SfChart>

   <ChartPrimaryXAxis ValueType="Syncfusion.Blazor.Charts.ValueType.Category">

    </ChartPrimaryXAxis>

    <ChartPrimaryYAxis LabelFormat="{value}M" EdgeLabelPlacement="EdgeLabelPlacement.Shift">

    </ChartPrimaryYAxis>

</SfChart>


Sample : https://www.syncfusion.com/downloads/support/directtrac/general/ze/ColumnChart452609356.zip


Please revert us if you have any concerns.


Regards,

Durga Gopalakrishnan.


Loader.
Live Chat Icon For mobile
Up arrow icon