Git Product home page Git Product logo

mckn-funnel-panel's Issues

Data persistence issue

I am encountering a recurring issue with the funnel chart, where data seems to "linger" when changing the dashboard's parameters (or when hitting the "refresh" button). Here are the details:

Environment:
Grafana version: 10.4.2
Browser: Chrome and Safari (Issue reproduced in both)

Steps to Reproduce:

  1. Select initial parameters on the dashboard and generate the funnel chart.
  2. Change the parameters to new values.
  3. Observe that the values from the initial run persist and are stacked on the results of the second run (see attached screenshot).

The funnel chart retains (some of the) data from the first run and combines it with data from the second run.
The only way to clear the data and start fresh is to refresh the entire page. Clicking the "refresh dashboard" button does not resolve the issue.

The screenshot below shows for example the "limit_results" step that is stacked over and over again. So much so, that the funnel even covers the visualization below...

Screenshot 2024-06-27 at 19 52 27

Funnel plugin shows drop numbers as the wrong percentage

What happened?
The actual drop is the inverse, so 13.37% is the drop. This is because the drop is from 187 to 162, which is a 13.37% decrease.
funnel drop

What did you expect to happen?
For the percentage drop display to match how many actually dropped, or for dropped text to be renamed to reflect what is actually being displayed, which is the percentage that advanced to the next step.

Did this work before?
Unknown, I'm new to Grafana

How do we reproduce it?
Create a funnel
Look at the drop numbers and percentage

Grafana platform?
A package manager (APT, YUM, BREW, etc.)

Funnel not showing correct % changes based on initial stage

@mckn I have developed a visualization using the Funnel Plugin in Grafana. I use SQL query to fetch the data and transform Row to Fields to have one column per field. The funnel gets displayed, however the last stage of the funnel is not shown as a block and also the % change column generated (on the right side) is not calculated correctly. Can you please let me know if I can edit the % through a code/ query since I see I cannot make changes to the funnel data displayed.

Funnel math appears incorrect

Hi there! First off, thanks for your work on this!

tl;dr

We have 4 values: 228, 227, 38, and 35. We're expecting the funnel to show 99.6%, 16.7% and 15.4% across the steps, but instead we're seeing 99.5%, 1.56%, and 0%.

Background

We're trying to use this plugin to do some funnel analysis on our product, but realized the data we're expecting to see isn't showing up correctly. We've simplified our funnel to 4 states, and simplified the values as well in an attempt to get to the bottom of this.

We're loading in 4 Label-Value pairs that look like this:
Screenshot 2024-01-03 at 10 45 07 AM

When graphing these, we're seeing an unexpected drop off:
Screenshot 2024-01-03 at 10 47 54 AM

For reference, this is what we're expecting to see from the source data (in Posthog):
Screenshot 2024-01-03 at 10 49 01 AM

Any idea what we're doing wrong here? It seems the calculation from 227 to 38 is the most egregious, but all the values seem incorrect.

Enhancement: Allow font color and size control

First, thank you for building this plugin; we've been doing half-baked, kludgy funnel charts using the Bar Chart visualization, so this has really improved what we are able to display.

It appears the font color on the plugin is currently dictated by the selected UI Theme (light or dark). While that works great for the description and the overall percentage in the left and right columns, the font on the funnel itself is impacted by the funnel color and we've heard readability issues from users in both camps. We are doing monochromatic funnels on purpose, with both a current time range and a comparative time range (typically same time range, prior week) and we use lighter and darker shades of the same color on the comparative funnels to differentiate the two.

On light colors, the white font in dark mode can be difficult to read and ditto for dark colors in light mode. Here are two examples:
Light
Dark

If possible, it would be nice to have a "funnel font color" option to allow the panel developer to select the optimal font color (even if just between white and black) to contrast best with the the funnel color.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.