Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the "Comparison per year" report/widget #45

Open
sebastfr opened this issue Mar 19, 2014 · 2 comments
Open

Improve the "Comparison per year" report/widget #45

sebastfr opened this issue Mar 19, 2014 · 2 comments

Comments

@sebastfr
Copy link
Contributor

Reported by many.

The different graphs are not on the same scale. Mostly because each graph is unaware of the other graphs (the data is fetched in different Ajax calls) so it's hard to compute and overall maximum y-value over the different graphs.

Perhaps this should be plotted on one single graph, with multiple line with different colours.

@mpbraendle
Copy link

In addition, the menu buttons "Filter items", "Dates", and "Available Reports" are missing. There is no way to return back to another (or previous report) than using the Back button of the browser.

@jesusbagpuss
Copy link
Contributor

@mpbraendle If you change your config in z_irstats2.pl (https://github.com/eprints/irstats2/blob/master/cfg/cfg.d/z_irstats2.pl#L453-#L459):

compare_years => {
    items => [
        { plugin => 'SetDesc' },
        { plugin => 'Compare' },
    ],
    category => 'general',
},

to

compare_years => {
    items => [
        { plugin => 'ReportHeader' },
#        { plugin => 'SetDesc' }, # removed - this plugin doesn't seem to exist!?
        { plugin => 'Compare' },
    ],
    category => 'general',
},

Then the normal report selection header should appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants