Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
5099 Tampilan

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?

Avatar
Buang
Penulis Jawaban Terbai

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...

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 15
10230
1
Apr 24
6279
3
Nov 16
10987
0
Des 24
9448
3
Sep 24
21593