web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Not able to properly d...
Power Apps
Unanswered

Not able to properly display Number value labels on X-axis Line chart

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

 

I have two columns(Day number vs Weight) both are Numbers, I wanted to display both of them on line chart. I am struggling a bit to display labels on x-axis, I am using collection as data source for this chart. I see labels on y-axis limited and displayed  properly, but i am not able to limit labels on x-axis. Please help me with the solution.

owerApp Graph Issue.PNG

 
Categories:
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Can you share a few values from your collection to get an idea as to how the values are spread out?

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Do you mean that you could not display the Day number value property within the X-axis of your Line Chart control?

    Could you please show more details about the Day number value within your collection?

     

    Based on the screenshot that you mentioned, I think this issue is related to the amount of records in your collection. How many records existed in your collection?

     

    As an fixed solution, please consider configure your canvas app as a Tablet Layout App firstly, then set the XLabelAngle property of the Line Chart control to following:

    45

    2.JPG

    then your Day value would be displayed in 45 angle within the X-axis of your Line Chart control.

     

    Please consider take a try with above solution, check if the issue is solved.

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, 

     

    I have around 700 records in the collection, please find below sample data. please let me know if there is a way to present this data using powerApps charts, we do not want to use Power BI for this case because we are getting data directly from API and gets updated by every call and we do not want to store this data in any other data source.

     

    Columns selectedColumns selectedSample dataSample data

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

    Based on the screenshot that you mentioned, I think your data source records is too large.

     

    If you want to use Line Chart control (or other Chart controls) in PowerApps to achieve your needs, I afraid that it could not achieve your needs -- render it perfectly.

     

    As an alternative solution, you could consider display your records using Power BI report and pin it to a specific dashboard. And then within your canvas app, you could use the "Power BI Tile" control to display your dashboard Tile visual.

     

    Best regards,

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at
    @v-xida-msft I think @Anonymous clearly said he cannot or does not want to use Power BI.

    Anyways, @Anonymous I will share a possible workaround that may work. Stay tuned.

    Thanks,
    Hardit Bhatia
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Hi @Anonymous 

     

    Just curious, how many days does your data have? 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @PowerAddict ,

     

    We have 2 years of data, one record per day, that means around 700 -750 days 

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Would it be ok to club days into weeks/months? 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @PowerAddict ,

     

    You mean aggregation on Week/Month ? For now the requirement is day wise, week wise aggregation can be okay i guess, but Month wise aggregation is not recommended.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard