gocodebox / gocodebox/lifterlms

Improve display of Net Revenue and Amount Refunded

Open
#2,902 0 comments 0 reactions 1 assignee Claimed by @ideadude View on GitHub
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

**Is your feature request related to a problem? Please describe.**
When looking at the Sales report graph under _LifterLMS > Reporting_, "Sales" tab, points are joined together. This makes it look like on days with no revenue or refunds, that there was actually a refund or revenue.

**Describe the solution you'd like**
Turn that part of the graph into another format, for example points or bars. This would be this line in llms-analytics.js

```
type: ( 'count' === type ) ? 'bars' : 'line',
```

and changing it to `bars` always even if `type` is `amount` or else some other format.

**Describe alternatives you've considered**
Adding points to the line so at least you can see where the actual data is. Or perhaps filling in the dates, so we put `0` explicitly for dates with no data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.