Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5108 Widoki

I would like to create a graph for a dashboard showing the company debtors, but with the number of debtors our company has the graph becomes un-readable pretty fast. Is there a way to limit the number of records shown in a graph? I have tried the standard:

<field name="limit">xx</field>

which works fine on tree views, but doesn't seem to have any effect on graphs.

Any ideas on how I could achieve something like this?

Awatar
Odrzuć
Autor Najlepsza odpowiedź

Well to answer my own question, I've ended up just creating a new class which I fill up with a database query in the init method. That way I can limit the entries using

SELECT xxxxx
FROM xxxxx
LIMIT xx

And then display them in their own graph view.

Still would be interested if anyone has a shorter way of achieving the same thing...

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
mar 15
10234
1
kwi 24
6281
3
lis 16
11002
0
gru 24
9453
3
wrz 24
21605