[Bug 1606380] [NEW] Pie Charts do not display

Public bug reported:

Hi.

I'm having trouble visualizing pie charts for use in reports. The legend
for the chart displays, but none of the data.

I've replicated this problem in the demo instance. For instance:
https://play.dhis2.org/demo/api/charts/jBFfQV11qAM/data\.

I've also observed this issue in v 2.23.

Thanks,
Tom

** Affects: dhis2
     Importance: Undecided
         Status: New

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1606380

Title:
  Pie Charts do not display

Status in DHIS:
  New

Bug description:
  Hi.

  I'm having trouble visualizing pie charts for use in reports. The
  legend for the chart displays, but none of the data.

  I've replicated this problem in the demo instance. For instance:
  https://play.dhis2.org/demo/api/charts/jBFfQV11qAM/data\.

  I've also observed this issue in v 2.23.

  Thanks,
  Tom

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1606380/+subscriptions

Hi the demo db is reset at night so unable to see the chart. Could you
tell us a bit more about the problem and provide a screenshot?

** Changed in: dhis2
    Milestone: None => 2.25

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1606380

Title:
  Pie Charts do not display

Status in DHIS:
  New

Bug description:
  Hi.

  I'm having trouble visualizing pie charts for use in reports. The
  legend for the chart displays, but none of the data.

  I've replicated this problem in the demo instance. For instance:
  https://play.dhis2.org/demo/api/charts/jBFfQV11qAM/data\.

  I've also observed this issue in v 2.23.

  Thanks,
  Tom

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1606380/+subscriptions

Hi Lars,

I recreated the problem in dev. Please see screen shots below of the
problem I’m experiencing. I have this problem in another instance for a
chart that I created a week ago, so I don’t believe it’s just an issue
with analytics needing to refresh.

Many thanks,
Tom

When I create a pie chart in Visualizer, I see:

However, when I then access the chart through the api, I see only the
title:

I’m trying to use the chart in a standard report. And when I access it
through the report (e.g. by calling it from the api), I likewise see
only the title (though I can successfully display the charts that are
already in the dev instance) (in the example below, the top image is
supposed to be the chart I created; the others are existing charts):

Here’s the information from the api on the chart I created:

{"lastUpdated":"2016-08-02T21:48:39.091+0000","id":"NhCbURQWXjg","href":"https://play.dhis2.org/dev/api/charts/NhCbURQWXjg",“created”:“2016-08-02T21:48:39.091+0000”,“name”:“1Test”,“showData”:true,“publicAccess”:“rw------”,“userOrganisationUnitChildren”:false,“type”:“PIE”,“hideEmptyRows”:false,“parentGraphMap”:{“ImspTQPwCqd”:“”},“userOrganisationUnit”:false,“completedOnly”:false,“sortOrder”:0,“topLimit”:0,“aggregationType”:“DEFAULT”,“userOrganisationUnitGrandChildren”:false,“displayName”:“1Test”,“hideSubtitle”:false,“hideLegend”:false,“externalAccess”:false,“hideTitle”:false,“regression”:false,“series”:“dx”,“category”:“co”,“access”:{“read”:true,“update”:true,“externalize”:true,“delete”:true,“write”:true,“manage”:true},“relativePeriods”:{“thisYear”:false,“quartersLastYear”:false,“last52Weeks”:false,“thisWeek”:false,“lastMonth”:false,“monthsThisYear”:false,“last2SixMonths”:false,“thisQuarter”:false,“last12Months”:false,“last5FinancialYears”:false,“thisSixMonth”:false,“lastQuarter”:false,“thisFinancialYear”:false,“last4Weeks”:false,“last3Months”:false,“thisMonth”:false,“last5Years”:false,“last6BiMonths”:false,“lastFinancialYear”:false,“last6Months”:true,“quartersThisYear”:false,“monthsLastYear”:false,“lastWeek”:false,“thisBimonth”:false,“lastBimonth”:false,“lastSixMonth”:false,“lastYear”:false,“last12Weeks”:false,“last4Quarters”:false},“user”:{“id”:“xE7jOejl9FI”},“attributeDimensions”:[],“translations”:[],“filterDimensions”:[“ou”,“pe”],“organisationUnitGroups”:[],“itemOrganisationUnitGroups”:[],“userGroupAccesses”:[],“programIndicatorDimensions”:[],“attributeValues”:[],“dataDimensionItems”:[{“dataDimensionItemType”:“DATA_ELEMENT”,“dataElement”:{“id”:“fbfJHSPpUQD”}}],“columns”:[{“id”:“dx”}],“organisationUnitLevels”:[],“dataElementDimensions”:[],“periods”:[],“organisationUnits”:[{“id”:“ImspTQPwCqd”}],“categoryDimensions”:[],“dataElementGroups”:[],“filters”:[{“id”:“ou”},{“id”:“pe”}],“rows”:[{“id”:“co”}],"categoryOptionGroups":\[\]\}

···

On Aug 2, 2016, at 4:28 PM, Lars Helge Øverland <lars@dhis2.org> wrote:

Hi the demo db is reset at night so unable to see the chart. Could you
tell us a bit more about the problem and provide a screenshot?

** Changed in: dhis2
   Milestone: None => 2.25

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1606380

Title:
Pie Charts do not display

Status in DHIS:
New

Bug description:
Hi.

I'm having trouble visualizing pie charts for use in reports. The
legend for the chart displays, but none of the data.

I've replicated this problem in the demo instance. For instance:
https://play.dhis2.org/demo/api/charts/jBFfQV11qAM/data\.

I've also observed this issue in v 2.23.

Thanks,
Tom

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1606380/+subscriptions

** Attachment added: "pie chart visualizer.tiff"
   https://bugs.launchpad.net/bugs/1606380/+attachment/4712669/+files/pie%20chart%20visualizer.tiff

** Attachment added: "pie chart api.tiff"
   https://bugs.launchpad.net/bugs/1606380/+attachment/4712670/+files/pie%20chart%20api.tiff

** Attachment added: "report example.tiff"
   https://bugs.launchpad.net/bugs/1606380/+attachment/4712671/+files/report%20example.tiff

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1606380

Title:
  Pie Charts do not display

Status in DHIS:
  New

Bug description:
  Hi.

  I'm having trouble visualizing pie charts for use in reports. The
  legend for the chart displays, but none of the data.

  I've replicated this problem in the demo instance. For instance:
  https://play.dhis2.org/demo/api/charts/jBFfQV11qAM/data\.

  I've also observed this issue in v 2.23.

  Thanks,
  Tom

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1606380/+subscriptions