Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5135 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
10254
1
thg 4 24
6335
3
thg 11 16
11046
0
thg 12 24
9495
3
thg 9 24
21737