UNLV-ShaneD / unlvCS473kilo

5 stars 4 forks source link

Charting + Projecting Collaborations #12

Open dabinett opened 12 years ago

dabinett commented 12 years ago

Per our discussion earlier today Shane, I just want to clarify again what I'm getting from the user.

I know I'm at least getting a startDate and endDate. There's also mention of a frequency/interval. Frequency is how often something is purchased and the interval pertains directly to the chart, specifically how often a data point is made.

Here's an example to see if I get this:

Item: Gas Frequency: Weekly Start and End Dates: 4-1-2012 through 6-1-2012 Interval: 7 (days?)

This would lead to a graph having 8 data points? (8 = 2 months = 8 weeks / 1 week (7 days))

From writing this out, it seems I want to solicit the interval from the user and frequency is for someone else.

Is that all accurate?

UNLV-ShaneD commented 12 years ago

Where is frequency mentioned? That document may be out of date/worded weird. Note that frequency = 1 / interval, so having both is redundant/conflicting. It is my advice to just go by storing everything in intervals by days from here on out.

I think I may have mentioned frequency as a parameter between communication with charting and projecting. This really is more of an issue between you and Dane. Regardless, use of interval over frequency may be preferred as you can work in whole numbers (as opposed to floating point.) Charting may have a drop-down that uses frequency (daily, weekly, monthly) - but those can all be approximated in days. If you and Dane want to get /fancy/ and use a stricter definition of a "month" (rather than 30 days or something), then you two will need to cooperate to get that working. Could be cool if you have lots of free time to kill.

You and Dane /are/ going to need to come up with entities for communication between the charting and projecting parts of the project. I suggest that such discussion is most pertinent to this issue and, as such, have renamed and reassigned the issue.