Comment 2 for bug 1221566

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/45412
Committed: http://github.com/openstack/horizon/commit/e19677a80e54929bded86d493b47ffe430563859
Submitter: Jenkins
Branch: master

commit e19677a80e54929bded86d493b47ffe430563859
Author: Ladislav Smola <email address hidden>
Date: Fri Sep 6 12:53:46 2013 +0200

    Correct amount of samples in the chart

    We need to always show some reasonable amount of samples in the chart.

    It was hardcoded to 1000s time windows, when there will be a
    several months of data, it will be a great amount of samples.

    It needs to be changed to always show some reasonable amount of samples
    (I would say 400)

    Also exceptions added for unexpected states of dates.
    Date_from has been changed to beginning of the day, and date_to to
    the end of that day.

    Fixes bug 1221566
    Change-Id: I60cd0aa0882c5b8890d61b649c312d4f7e9ddf82