UI for Event Visualizer broken

Hi Mahendra,

This is definitely weird :slight_smile: I need some more info to sort out what is going on. Which browser/version and version of dhis2 are you using? Can I log in somewhere and have a look?

Jan

image

···

On Wed, Apr 8, 2015 at 11:09 AM, Mahendra Kariya mahendra.kariya@thoughtworks.com wrote:

Hi,

When we are trying to plot a graph on event visualizer, we are getting some weird icons. See screenshot below.

We looked at the analytics call. It is returning a couple of data rows.

GET URL: http://localhost:8080/api/analytics/events/aggregate/a035cb4b0f4.json?stage=a6121090489&dimension=pe:LAST_WEEK;LAST_12_MONTHS&dimension=ab5c3915d8e:IN%3Aa2794c2d322&filter=ou:a2cf79e8f13&outputType=EVENT&displayProperty=NAME

**Response: **

{

“headers”: [

{
  "name": "pe",
  "column": "Period",
  "type": "java.lang.String",
  "hidden": false,
  "meta": true
},
{
  "name": "ab5c3915d8e",
  "column": "Sex - Cholera CTC",
  "type": "java.lang.String",
  "hidden": false,
  "meta": true,
  "optionSet": "a3c3662bcb6"
},
{
  "name": "value",
  "column": "Value",
  "type": "java.lang.Double",
  "hidden": false,
  "meta": false
}

],

“metaData”: {

"pe": [
  "201405",
  "201406",
  "201407",
  "201408",
  "201409",
  "201410",
  "201411",
  "201412",
  "201501",
  "201502",
  "201503",
  "2015W15",
  "201504"
],
"ou": [
  "a2cf79e8f13"
],
"names": {
  "201412": "December 2014",
  "201410": "October 2014",
  "201405": "May 2014",
  "ou": "Organisation unit",
  "201411": "November 2014",
  "201406": "June 2014",
  "2015W15": "2015W15",
  "201407": "July 2014",
  "201408": "August 2014",
  "201409": "September 2014",
  "a2cf79e8f13": "MSF",
  "pe": "Period",
  "a6121090489": "Program stage",
  "ab5c3915d8e": "Sex",
  "201501": "January 2015",
  "201503": "March 2015",
  "201502": "February 2015",
  "201504": "April 2015",
  "a035cb4b0f4": "Program"
}

},

“height”: 2,

“rows”: [

[
  "201504",
  "a2794c2d322",
  "3"
],
[
  "201503",
  "a2794c2d322",
  "2"
]

],

“width”: 3

}

Could you please press F12 to open Chrome console, click the “Console” tab, reload the app, try to render the same chart again and see if there are any red error messages?

image

···

On Wed, Apr 8, 2015 at 5:20 PM, Mahendra Kariya mahendra.kariya@thoughtworks.com wrote:

Browser: Google Chrome (for Mac) 41.0.2272.118 (64-bit)
OS: OS X 10.9.5

DHIS2 Rev: 18819

This appeared on my local machine. I don’t think we have any environment running this version of DHIS.

On Wed, Apr 8, 2015 at 8:41 PM, Jan Henrik Øverland janhenrik.overland@gmail.com wrote:

Hi Mahendra,

This is definitely weird :slight_smile: I need some more info to sort out what is going on. Which browser/version and version of dhis2 are you using? Can I log in somewhere and have a look?

Jan

On Wed, Apr 8, 2015 at 11:09 AM, Mahendra Kariya mahendra.kariya@thoughtworks.com wrote:

Hi,

When we are trying to plot a graph on event visualizer, we are getting some weird icons. See screenshot below.

We looked at the analytics call. It is returning a couple of data rows.

GET URL: http://localhost:8080/api/analytics/events/aggregate/a035cb4b0f4.json?stage=a6121090489&dimension=pe:LAST_WEEK;LAST_12_MONTHS&dimension=ab5c3915d8e:IN%3Aa2794c2d322&filter=ou:a2cf79e8f13&outputType=EVENT&displayProperty=NAME

**Response: **

{

“headers”: [

{
  "name": "pe",
  "column": "Period",
  "type": "java.lang.String",
  "hidden": false,
  "meta": true
},
{
  "name": "ab5c3915d8e",
  "column": "Sex - Cholera CTC",
  "type": "java.lang.String",
  "hidden": false,
  "meta": true,
  "optionSet": "a3c3662bcb6"
},
{
  "name": "value",
  "column": "Value",
  "type": "java.lang.Double",
  "hidden": false,
  "meta": false
}

],

“metaData”: {

"pe": [
  "201405",
  "201406",
  "201407",
  "201408",
  "201409",
  "201410",
  "201411",
  "201412",
  "201501",
  "201502",
  "201503",
  "2015W15",
  "201504"
],
"ou": [
  "a2cf79e8f13"
],
"names": {
  "201412": "December 2014",
  "201410": "October 2014",
  "201405": "May 2014",
  "ou": "Organisation unit",
  "201411": "November 2014",
  "201406": "June 2014",
  "2015W15": "2015W15",
  "201407": "July 2014",
  "201408": "August 2014",
  "201409": "September 2014",
  "a2cf79e8f13": "MSF",
  "pe": "Period",
  "a6121090489": "Program stage",
  "ab5c3915d8e": "Sex",
  "201501": "January 2015",
  "201503": "March 2015",
  "201502": "February 2015",
  "201504": "April 2015",
  "a035cb4b0f4": "Program"
}

},

“height”: 2,

“rows”: [

[
  "201504",
  "a2794c2d322",
  "3"
],
[
  "201503",
  "a2794c2d322",
  "2"
]

],

“width”: 3

}