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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Line chart x-axis use ...
Power Apps
Answered

Line chart x-axis use values in stead of labels

(0) ShareShare
ReportReport
Posted on by 704

I have a collection with dates and weights of an animal and I want to plot an xy chart where the horizontal distance of the points represent there difference in dates. In other words I want an xy chart. How do I achieve this in powerapps? The standard way results in dates as labels, every point equaldistance independent from date. 

Categories:
I have the same question (0)
  • eka24 Profile Picture
    20,923 on at

    Try watching this video from Shane Young

    https://youtu.be/b8iz1ar1I4E?t=3

     

    if you still have issues, show a sample of your table

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

     

  • Verified answer
    v-xida-msft Profile Picture
    on at

    Hi @HansHeintz ,

    Do you want to plot different horizontal distance of the points against the difference in dates in your Line Chart control?

     

    If you want to plot different horizontal distance of the points against the difference in dates in your Line Chart control, I afraid that there is no way to achieve your needs in PowerApps currently.

    14.JPG

     

     

    Just as you thought, the horizontal distance of the points of the 'Line Chart' control would be divided into equal distance against the records amount in your collection. Currently, there is no way to customize the horizontal distance of the points of the 'Line Chart' control based on the difference in dates.

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:
    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/idb-p/PowerAppsIdeas

     

    As an alternative solution, I think Power BI report could achieve your needs. On your side, you could consider store your animal weight records in a Excel file, and then you could add your Excel file data as dataset into your Power BI desktop. The Excel dataset added into your Power BI may look like this:

    15.JPG

    Then you could plot a Line Chart based on the above inserted dataset in your BI report:

    16.JPG

     

    17.JPG

    After that, you could consider pin above BI report to existing dashboard or new dashboard as a Tile. Then you could use the "Power BI Tile" control in your PowerApps canvas app to display the above Line Chart visual:

    18.JPG

     

    More details about displaying Power BI Tile in PowerApps canvas app, please check the following video resource:

    https://www.youtube.com/watch?v=CWmU3gJ9tRY

    https://www.youtube.com/watch?v=H9yYzPg0LwM

     

    Please try above alternative solution, hope it could help solve your problem.

     

    Regards,

  • KCarpenter Profile Picture
    2 on at

    What the OP is asking for is an XY chart.  This is the type to show projects ranked according to investment return (ROI).  PowerApps has some nice simple charting features that you can do quite a bit with, however XY charts are not one of them.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard