Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6039081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:18:59+00:00 2026-05-23T06:18:59+00:00

I run into this problem again and again; Situation there is a (large) dataset

  • 0

I run into this problem again and again;

Situation
there is a (large) dataset with records tied to a date (or even time) and I have the need to plot this data over time.

Problem
The dataset only contains the dates for which there are records available (obviously), but I need also the ’empty’ dates to be able to plot multiple series evenly over time.

Tools
I usually work with MySQL and PHP, most often pasting the data into Excel to plot graphs etc.

Workaround
Up till this moment I usually create an excel sheet and put in the dates by hand and determine the appropriate number of results with a SumIf on the dataset.
This seems a bit stupid to me though, and isn’t really workable when working with a lot of records (excel gets really REALLY slow quite quickly).

I’m really curious to see if there isn’t a ‘real’ and better solution to do this, maybe already in the construction of the query?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T06:18:59+00:00Added an answer on May 23, 2026 at 6:18 am

    Are dates in you excel data text that look like dates, or date serial numbers formatted to display as dates?

    If the date data points are date serial numbers then the plot will space the X axis evenly over time irrespective of interval between individual data points

    The attached image demontrates: the first column and plot are “Dates” stored as text, the second date serial numbers formatted as dates

    Demo of Plot

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've run into this problem time & again, and I've always had to resolve
Has anyone run into this problem... In my layout.phtml I have: <head> <?= $this->headTitle('Control
Has anyone else run into this problem before? I've got a method that calls
I run into similar codes like this all the time in aspx pages: <asp:CheckBox
This is an odd thing I've just run into. I have a web application
I'm building a Wine review site and have run into a database design problem
I frequently run into problems of this form and haven't found a good solution
I run into this quite often where a new page is supposedly tested and
Has anyone run into this error message before when using a timer on an
I've run into this issue quite a few times and never liked the solution

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.