Jump to content
Server Maintenance This Week. ×

Help Charting Related Data


nesor

This topic is 4933 days old. Please don't post here. Open a new topic instead.

Recommended Posts

[Projects] table

[Dates] table

I'm trying to generate a bar chart - based on the current set of projects - showing the number of projects per month.

Should the chart layout be based on records from the Projects or Dates table?

I'm also stumped on the calculations for the vertical and horizontal columns.

Any help would be greatly appreciated — Thanks!

Link to comment
Share on other sites

I am afraid that's entirely not clear. What is the Dates table and what is the relationship between it and the Projects table? And what is the "current set of projects"?

Let me ask you a counter-question: charting aside, can you display these numbers on screen?

Link to comment
Share on other sites

The dates table contains all of the dates related to projects. A project typically spans multiple dates.

The Dates table is related to the Projects table via a project_id foreign key.

By Found Set, I'm referring to the current set of records a user is viewing in the Project list (the layout from which the user will generate the chart). For example, I may search for projects between Jan 1, 2010 and March 31, 2010. The query searched the related Dates table and produces a list of Projects on my Project list that fall within this time period. Now I'd like to generate a chart based on the projects in my project list.

With respect to your question about seeing the data on screen, I'm not sure I understand the question. In the Project List layout, I correctly see each project and Grand Total, as well as the earliest related Date for each project (e.g. If a project has related dates 1/1/10, 1/2/10, and 1/3/10, the Project List layout shows 1/1/10).

Link to comment
Share on other sites

Suppose there are only three projects:

Project A has dates in January and February;

Project B has dates in February only;

Project C has dates in February and March.

I presume that means:

January: 1 project:

February: 3 projects;

March: 1 project.

Is that correct? (My question was regarding this last tabular array.)

Link to comment
Share on other sites

This topic is 4933 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.