[ZBX-11151] Keys in pie chart get's incorrectly sorted Created: 2016 Sep 01  Updated: 2017 May 30  Resolved: 2016 Sep 21

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.4
Fix Version/s: 3.0.5rc1, 3.2.1rc1, 3.4.0alpha1

Type: Incident report Priority: Trivial
Reporter: Robin Björklin Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: frontend, graphs, trivial
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux, Firefox


Attachments: PNG File incorrectly_sorted.png     PNG File preview.png    

 Description   

There seems to be automatic sorting of keys in pie charts but not the other graphs. When checking in preview mode it looks correct but when actually using the graph the keys get sorted and the order listed in the template is not respected. Please see attached images.

Sort of related: Keys should probably be next to the pie chart and not below as suggested in ZBXNEXT-1283



 Comments   
Comment by Robin Björklin [ 2016 Sep 01 ]

I meant to link to: ZBXNEXT-1283

Comment by Aleksandrs Saveljevs [ 2016 Sep 05 ]

Seems to be the case indeed. Setting to "Confirmed".

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 07 ]

(1) No translation strings changed.

iivs CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 07 ]

Fixed in the development branch svn://svn.zabbix.com/branches/dev/ZBX-11151

Comment by Ivo Kurzemnieks [ 2016 Sep 08 ]

(2) There is an old problem where creating a graph via API and adding items, default sortorder is 0 for all graph items. In this case, the legend ordering for charts fails again.

vitalijs.cemeris RESOLVED in r62453, r62455

iivs Creating graph via frontend, items are numbered 0-n. Creating graph via API, items are numbered 1-n.

REOPENED

vitalijs.cemeris RESOLVED in r62457

iivs CLOSED

Comment by Ivo Kurzemnieks [ 2016 Sep 13 ]

TESTED

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 15 ]

Fixed in:

  • pre-3.0.5rc1 r62540
  • pre-3.2.1rc1 r62542
  • pre-3.3.0 r62543
Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 15 ]

(3) [D] Changed Description for graph item object sortorder property 3.0, 3.2
RESOLVED

martins-v Thanks, CLOSED

Comment by vitalijs.cemeris (Inactive) [ 2016 Sep 15 ]

(4) [D] Zabbix API changes in 3.0: Changed default sortorder value
RESOLVED

martins-v I've made some minor grammar corrections. CLOSED

sasha This page also must be updated.

RESOLVED

vitalijs.cemeris CLOSED

Generated at Fri Mar 29 14:20:09 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.