Skip to main content
Microsoft logo
Power Apps
    • AI Builder
    • Automate processes
    • Azure + Power Apps
    • Build apps
    • Connect data
    • Portals
  • Pricing
    • Overview
    • Become a Partner
    • Find a Partner
    • Find consulting services
    • Blog
    • Customer stories
    • Documentation
    • For IT Leaders
    • Roadmap
    • Self-paced learning
    • Webinars
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • User groups
    • Register
    • ·
    • Sign In
    • ·
    • Help
    Go To
    • Power Apps Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power Apps
    • Building Power Apps
    • Microsoft Dataverse
    • AI Builder
    • Power Apps Governance and Administering
    • Power Apps Pro Dev & ISV
    • Power Apps Portals
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Community Blog
    • Power Apps Community Blog
    • Power Apps Community Demo Extravaganza 2020
    • Galleries
    • Community App Samples
    • Webinars and Video Gallery
    • Canvas Apps Components Samples
    • Kid Zone
    • Business Value Webinars and Video Gallery
    • Emergency Response Gallery
    • 2019 Microsoft Business Applications Summit Recordings (Archived)
    • Microsoft Business Applications Summit 2020 Session Recordings
    • Ideas
    • Power Apps Ideas
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Power Apps Community
    • Galleries
    • Canvas Apps Components Samples
    • Scatter Plot

    Scatter Plot

    05-31-2020 12:28 PM - last edited 06-02-2020 01:01 AM

    Gabrz
    Advocate IV
    873 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    Gabrz
    Gabrz Advocate IV
    Advocate IV
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    Scatter Plot

    ‎05-31-2020 12:28 PM

    I've been playing around with SVG in PowerApps and ended up with this Scatter Plot Component.

    ScatterPlot.jpg

    Preview file
    86 KB
    ScatterPlot.zip
    Message 1 of 4
    873 Views
    4 Kudos
    Reply
    • All posts
    • Previous Topic
    • Next Topic
    gvgorp
    gvgorp
    New Member
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎01-20-2021 03:43 PM

    Wow! This is so awesome.

    I just have some feedback. The min/max values on the X axis is not evenly distributed when using this table.

    Table(
        {XAxis: 2.35, YAxis: 975},
        {XAxis: 2.36, YAxis: 980},
    	{XAxis: 2.4, YAxis: 1000}
    )

    I quicly fixed this by changing the ROUNDUP number of decimals on the varXAxisInterval and varYAxisInterval, though it does not work with the NiceAxisDistribution (experimental).

     

    Additional request: I would like to support multiple series each with a different colour. I also would like to add plotting lines between the points. Maybe I'll try to add it when I have some time available.

    Message 2 of 4
    505 Views
    0 Kudos
    Reply
    FarrellDrafting
    FarrellDrafting Helper I
    Helper I
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎01-21-2021 03:59 PM

    I've been trying to get it to support multiple colors based on a collection column value, no luck so far. Best of luck to you!

    Message 3 of 4
    492 Views
    0 Kudos
    Reply
    FarrellDrafting
    FarrellDrafting Helper I
    Helper I
    In response to gvgorp
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Email to a Friend
    • Report Inappropriate Content

    ‎03-05-2021 01:15 PM

    @gvgorpI made the scatter plot show different colors based on filters by adding custom Properties to the ScatterPlot Component in power apps, one for each different series you want to display and one for each color you want to use. Then in scpTmr_AnimSVG Data section, add a copy of the set varSVGData variable and rename it, i used varSVGData2. With the component changes made, you should just fill out your filtered data sets and colors into the screen component and it should load two different sets with different colors.

    ScatterPlotMulticolor.png

    Message 4 of 4
    350 Views
    0 Kudos
    Reply
    Preview Exit Preview

    never-displayed

    You must be signed in to add attachments

    never-displayed

    Additional options
    You do not have permission to remove this product association.
     

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Automate
    • Power Virtual Agents

    Power Apps

    • Sign in
    • Sign up

    Browse

    • Sample apps
    • Services

    Downloads

    • Studio
    • iOS
    • Android

    Learn

    • Documentation
    • Support
    • Community
    • Give feedback
    • Blog
    • Partners

    • © 2021 Microsoft
    • Follow Power Apps
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Trademarks