Expenditure History Report with graph

Build and share your cool customized reports built w/ one sql, Chart.js and Lua (https://github.com/moneymanagerex/general-reports)
Nikolay
MMEX Developer
Posts: 1292
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Expenditure History Report with graph

Post by Nikolay »

My report used your graph algorytm but other Sql.
My report shows all Categs.

sterling
Super MMEX User
Posts: 72
Joined: Thu Dec 11, 2014 8:40 am
Are you a spam bot?: No

Re: Expenditure History Report with graph

Post by sterling »

Nikolay wrote:My report used your graph algorytm but other Sql.
My report shows all Categs.
Yeah, i recognised it.  The graph doesn't work for me any more either, not debugged it though.  I use chrome for my main browser.

Nikolay
MMEX Developer
Posts: 1292
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Expenditure History Report with graph

Post by Nikolay »

Try new release
https://sourceforge.net/projects/moneym ... .2.0-beta/

I've changed my report to have only expenses.

Or may be problem with colors (too few values)

Code: Select all

var dataAccountColours = [ 
            "#f79646", "#f5f445", "#7fd13b", "#4bacc6", "#1f497d", "#8064a2" .......
Attachments
Expenditure_History_last12months_v7.grm
(4.25 KiB) Downloaded 516 times

Mukund
New MMEX User
Posts: 12
Joined: Thu Oct 30, 2014 4:51 pm
Are you a spam bot?: No

Re: Expenditure History Report with graph

Post by Mukund »

Nikolay wrote:Try new release
https://sourceforge.net/projects/moneym ... .2.0-beta/

I've changed my report to have only expenses.

Or may be problem with colors (too few values)

Code: Select all

var dataAccountColours = [ 
            "#f79646", "#f5f445", "#7fd13b", "#4bacc6", "#1f497d", "#8064a2" .......
Sir, Graph is not visible? Can you help me?

Nikolay
MMEX Developer
Posts: 1292
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Expenditure History Report with graph

Post by Nikolay »

How many rows in table?

sterling
Super MMEX User
Posts: 72
Joined: Thu Dec 11, 2014 8:40 am
Are you a spam bot?: No

Re: Expenditure History Report with graph

Post by sterling »

Nikolay wrote:How many rows in table?
I dont get a graph with limit 10 in the query.  I'll have a chance to debug at the weekend.

Nikolay
MMEX Developer
Posts: 1292
Joined: Sat Dec 06, 2008 2:27 pm
Are you a spam bot?: No
Location: Sankt-Petersburg, Russia

Re: Expenditure History Report with graph

Post by Nikolay »

Seems ChartNew.js outdated

To start graph working delete 

Code: Select all

                responsive : true,
in template (line 227).

Mukund
New MMEX User
Posts: 12
Joined: Thu Oct 30, 2014 4:51 pm
Are you a spam bot?: No

Re: Expenditure History Report with graph

Post by Mukund »

Nikolay wrote:How many rows in table?
Sir i have 101 rows.

aramacciotti
Super MMEX User
Posts: 23
Joined: Mon Jun 02, 2014 7:17 am
Are you a spam bot?: No

Re: Expenditure History Report with graph

Post by aramacciotti »

I also don't get the graphs for "where the money goes" when the analysis period is long enough to generate a many different rows (not clear which is the limit, but it works when rows are 19)

Post Reply