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 8709641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:24:49+00:00 2026-06-13T04:24:49+00:00

I have these in my data1.csv. The left column is time and the right

  • 0

I have these in my data1.csv. The left column is time and the right column is the data. I would like to display time on x-axis and the data on y-axis on flot chart.

09:35,13
10:35,12
11:35,38
12:35,12
13:35,11
14:35,10
15:35,43
16:35,42
17:35,39
18:35,45

I have done the function to load my data and no problem there.

function graphUpdate() {
            $.ajax({
                url : "file/data1.csv",
                type : "GET",
                dataType : "text",
                success : oncsvReceived
            });
        }

Now my problem is to display those time on x-axis on flot charts as you can see below. Anyone is able to help me here? Tried reading the documentation and looking around here, it doesn’t help me much. I would be very grateful for your help.

function oncsvReceived(data) {
    var alltext = $.csv()(data);
    $.plot($("#placeholder"), [alltext], {
                 yaxis: {

                 },
                                 xaxis:{
                                 });
  • 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-06-13T04:24:51+00:00Added an answer on June 13, 2026 at 4:24 am

    You have to use the time plugin for flot and set mode as time

    See doc: https://github.com/flot/flot/blob/master/API.md#customizing-the-axes

    update :

    A few months ago, I used it by downloading separately. But I am not sure about the latest version. Please see API.txt to check whether there is any change.

    link: https://github.com/flot/flot/blob/master/jquery.flot.time.js

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

Sidebar

Related Questions

I have a time series(a csv file) data that looks like below. Each observation
I have different CSV files and these files have some raw data Computer Name,Computer
I have implemented a Box and Whisker Chart with data from a csv file.
I have these two data structures that I continually find myself choosing between when
Concerning data binding I have these classes: public class Foo : List<Bar> { public
I have a DataTable which I select from database (Well, these data cross several
I have a set of data with over 1000 entries. I can filter these
I have an Activity with 3 spinners. These spinners get their data from a
I have data like below AAAAAA BBBBBB CCCCCC DDDDDD EEEEEE Now there is a
I have a csv file with following sample data. o-option(alphabetical) v-value(numerical) number1,o1,v1,o2,v2,o3,v3,o4,v4,o5,v5,o6,v6 number2,o1,v11,o2,v22,o3,v33,o44,v44,o5,v55,o6,v66 and

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.