PDA

View Full Version : dynamic sorting stacked bar chart on visible stacked values



Sven_M
27 Jan 2012, 5:35 AM
hello,


my json object like



{"data": [
{ "City": "Berlin", "rainMorning": "0.200", "rainNight": "0.020" },
{ "City": "Hamburg", "rainMorning": "0.012", "rainNight": "0.013" },
{ "City": "Bremen", "rainMorning": "0.020", "rainNight": "0.000" },
{ "City": "Sylt", "rainMorning": "0.019", "rainNight": "0.005" }
]}


my City Axes is type: "Category"
the sort with this type is Berlin, Bremen, Hamburg, Sylt


if all visible sorting should shows
Berlin, Hamburg, Bremen, Sylt

if only rainMorning visible sorting should shows
Berlin, Bremen, Sylt, Hamburg


if only rainNight visible sorting should shows
Berlin, Hamburg, Sylt, Bremen






my question:


is this possible that sort the cities on basis the visible sum of rain values ??

thx for your reply ;)