daxtens / finvis

Web-based financial data visualisation. Looking for developers!
GNU General Public License v3.0
7 stars 3 forks source link

Make bubble and standard sector renderers grey out if an unsupported period is selected. #9

Closed daxtens closed 11 years ago

daxtens commented 11 years ago

Currently, the behaviour of a viewobj when a period for which it has no data is undefined. I would rather that it keeps its old values but greys itself out to indicate that it's no longer current.

Note also that there's no UI for changing the period. There's another issue for that.

This will involve considerable work in viewobj.js. The object will need to keep track of the last valid period, and the renderer will have to get the last valid period, and render on that basis, then grey it out somehow (perhaps apply another css class that does ... something? perhaps create 'revenueGreyedOut'/'expensesGreyedOut' or something with a better name?).

This is 2-3 hours ($40-$60), with definite potential for extension.