Displaying images (resources) in the dashboard

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?

···

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Hi Knut

It should be very easy, create a small app that display a image (maybe you want with/height 100%), and set appType=RESOURCE, then you can add it to the dashboard (don’t need any fancy build process for that one)

···

On Thu, May 5, 2016 at 2:38 PM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Sorry, appType=DASHBOARD_WIDGET of course

···

On Thu, May 5, 2016 at 3:04 PM, Morten Olav Hansen morten@dhis2.org wrote:

Hi Knut

It should be very easy, create a small app that display a image (maybe you want with/height 100%), and set appType=RESOURCE, then you can add it to the dashboard (don’t need any fancy build process for that one)

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Thu, May 5, 2016 at 2:38 PM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thanks Morten, will do that for now - but don’t you agree it would be nice NOT to have to create an app for every image you want to include? Would be nice if this could be supported out of the box (perhaps through automatic wrapping in exactly such an app?). Blueprint?

···

On Thu, May 5, 2016 at 2:35 PM, Morten Olav Hansen morten@dhis2.org wrote:

Sorry, appType=DASHBOARD_WIDGET of course

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Thu, May 5, 2016 at 3:04 PM, Morten Olav Hansen morten@dhis2.org wrote:

Hi Knut

It should be very easy, create a small app that display a image (maybe you want with/height 100%), and set appType=RESOURCE, then you can add it to the dashboard (don’t need any fancy build process for that one)

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Thu, May 5, 2016 at 2:38 PM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Well, you can add the same widget multiple times, and then on initial load just show a simple selection box. If you want to make it more fancy, you could attach the possible images to a system settings using base64’d data urls.

If it’s worth a blueprint or not, I don’t know. You can always create it :slight_smile: you still would have to deal with image upload somehow, either on the disk using filestore, or base64.

···

On Thu, May 5, 2016 at 3:07 PM, Knut Staring knutst@gmail.com wrote:

Thanks Morten, will do that for now - but don’t you agree it would be nice NOT to have to create an app for every image you want to include? Would be nice if this could be supported out of the box (perhaps through automatic wrapping in exactly such an app?). Blueprint?

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Thu, May 5, 2016 at 2:35 PM, Morten Olav Hansen morten@dhis2.org wrote:

Sorry, appType=DASHBOARD_WIDGET of course


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Thu, May 5, 2016 at 3:04 PM, Morten Olav Hansen morten@dhis2.org wrote:

Hi Knut

It should be very easy, create a small app that display a image (maybe you want with/height 100%), and set appType=RESOURCE, then you can add it to the dashboard (don’t need any fancy build process for that one)

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Thu, May 5, 2016 at 2:38 PM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hello team,

Given the limits of the current charting solution (no selection of (the
rather dull) colors), few types of charts etc, I have a request to be able
to import charts made externally (with Excel or other tools) for display in
the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you
post a mockup of a chart / type you would like to see?

Lars

···

On Thu, May 5, 2016 at 9:38 AM, Knut Staring <knutst@gmail.com> wrote:

2.23 can already display youtube videos, so would it be easy to also
display Resources of type image? Or do we have to make a wrapper app (for
each such image)?

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>

Hi to all.

On the behalf of Lars, I want to ask if it is possible to display a ressource (i.e a PDF document) directeur in the dashboard?

Thanks.

Henri

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you post a mockup of a chart / type you would like to see?

Lars

···

Le Jeudi 5 mai 2016 10h19, Lars Helge Øverland lars@dhis2.org a écrit :
On Thu, May 5, 2016 at 9:38 AM, Knut Staring knutst@gmail.com wrote:

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Yes, I have asked the focal person to share some example charts.

···

On Thu, May 5, 2016 at 9:38 AM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you post a mockup of a chart / type you would like to see?

Lars

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Let me chip in here:

  • finding a way around the “Indicators cannot be specified as filter.” issue.

Then a few things which I understand is difficult with the current chart framework, but that would still be nice to have some day…:

  • more flexibility in the “layout”, e.g. two axis with different scale (indicator vs raw data in same chart etc)

  • combining chart types, e.g. line + bar

  • scatterplots, though only if there is more flexibility in the layout so that you can have data on X and Y axis

Olav

···

On Thu, May 5, 2016 at 9:38 AM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you post a mockup of a chart / type you would like to see?

Lars

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Hi Olav,

yes this sounds sensible.

···

On Mon, May 9, 2016 at 9:20 AM, Olav Poppe olav.poppe@me.com wrote:

Let me chip in here:

  • finding a way around the “Indicators cannot be specified as filter.” issue.

Yes, this on the plan for 2.24:

Then a few things which I understand is difficult with the current chart framework, but that would still be nice to have some day…:

  • more flexibility in the “layout”, e.g. two axis with different scale (indicator vs raw data in same chart etc)
  • combining chart types, e.g. line + bar
  • scatterplots, though only if there is more flexibility in the layout so that you can have data on X and Y axis

Olav

  1. mai 2016 kl. 13.27 skrev Knut Staring knutst@gmail.com:

Yes, I have asked the focal person to share some example charts.

On 5 May 2016 15:48, “Lars Helge Øverland” lars@dhis2.org wrote:


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

On Thu, May 5, 2016 at 9:38 AM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you post a mockup of a chart / type you would like to see?

Lars

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Hi Olav,

yes this sounds sensible.

Let me chip in here:
- finding a way around the "Indicators cannot be specified as filter."
issue.

On the plan for 2.24:

https://blueprints.launchpad.net/dhis2/+spec/analytics-indicator-as-filter

Then a few things which I understand is difficult with the current chart
framework, but that would still be nice to have some day…:
- more flexibility in the "layout", e.g. two axis with different scale
(indicator vs raw data in same chart etc)

- combining chart types, e.g. line + bar

Yes sounds good. Please write a blueprint for each, and also please include
some more detail here, like how do you instruct the system on which data
elements/indicators/reporting rates belong to which axis/chart types.

Some mock-ups would be appreciated.

- scatterplots, though only if there is more flexibility in the layout so

that you can have data on X and Y axis

Okay.

I my mind the limitation with scatterplots is that they are not very
scalable - basically you need to use it for events, and you need to map all
events on a single charts without aggregation.

Let me know if I am wrong.

regards,

Lars

···

On Mon, May 9, 2016 at 9:03 PM, Lars Helge Øverland <lars@dhis2.org> wrote:

On Mon, May 9, 2016 at 9:20 AM, Olav Poppe <olav.poppe@me.com> wrote:

Olav

5. mai 2016 kl. 13.27 skrev Knut Staring <knutst@gmail.com>:

Yes, I have asked the focal person to share some example charts.
On 5 May 2016 15:48, "Lars Helge Øverland" <lars@dhis2.org> wrote:

On Thu, May 5, 2016 at 9:38 AM, Knut Staring <knutst@gmail.com> wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the
rather dull) colors), few types of charts etc, I have a request to be able
to import charts made externally (with Excel or other tools) for display in
the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can
you post a mockup of a chart / type you would like to see?

Lars

2.23 can already display youtube videos, so would it be easy to also
display Resources of type image? Or do we have to make a wrapper app (for
each such image)?

--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>

_______________________________________________

Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>

--
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
lars@dhis2.org
http://www.dhis2.org <https://www.dhis2.org/>

It might seem very superficial, but I think the ability to select colors is actually important - just as it is for Legends in GIS (in fact, it would be nice to be able to apply the legend colors to charts as well).

Knut

···

On Thu, May 5, 2016 at 6:27 PM, Knut Staring knutst@gmail.com wrote:

Yes, I have asked the focal person to share some example charts.

On 5 May 2016 15:48, “Lars Helge Øverland” lars@dhis2.org wrote:

On Thu, May 5, 2016 at 9:38 AM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you post a mockup of a chart / type you would like to see?

Lars

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

Yes agree, that is already on the roadmap (2.24 or 2.25):

https://blueprints.launchpad.net/dhis2/+spec/chart-color-scheme

···

On Tue, May 10, 2016 at 5:35 AM, Knut Staring knutst@gmail.com wrote:

Knut

It might seem very superficial, but I think the ability to select colors is actually important - just as it is for Legends in GIS (in fact, it would be nice to be able to apply the legend colors to charts as well).

On Thu, May 5, 2016 at 6:27 PM, Knut Staring knutst@gmail.com wrote:

Yes, I have asked the focal person to share some example charts.

On 5 May 2016 15:48, “Lars Helge Øverland” lars@dhis2.org wrote:


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org

On Thu, May 5, 2016 at 9:38 AM, Knut Staring knutst@gmail.com wrote:

Hello team,

Given the limits of the current charting solution (no selection of (the rather dull) colors), few types of charts etc, I have a request to be able to import charts made externally (with Excel or other tools) for display in the dashboard.

Hi Knut,

when you say limited chart types - which chart types do you need? Can you post a mockup of a chart / type you would like to see?

Lars

2.23 can already display youtube videos, so would it be easy to also display Resources of type image? Or do we have to make a wrapper app (for each such image)?


Knut Staring

Dept. of Informatics, University of Oslo

Norway: +4791880522

Skype: knutstar

http://dhis2.org


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org