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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:48:39+00:00 2026-05-29T10:48:39+00:00

I am using jqplot to plot line graphs with dates in x axis ..

  • 0

I am using jqplot to plot line graphs with dates in x axis .. My graphs work perfectly in chrome browser but unfortunately i am getting “this.proxy.getTime is not a function exception” exception in firefox [Firebug console] ..

    function rndColor() {
    function c() {
        return ('0' + Math.floor(Math.random() * 256).toString(16)).substr(-2);
    }
    return '#' + c() + c() + c();
}  
  var plot1 = $.jqplot('chart1', [[['2012-01-23 00:23:03', 23], ['2012-02-01 00:14:02', 23]]], {
      title:'Disk Usage',
      axes:{
        xaxis:{
          renderer:$.jqplot.DateAxisRenderer,
          tickOptions:{
        formatString:'%b-%Y'
          },
        min: 'Jan-2012',
        max: 'Dec-2012',
        timeInterval: '1 month',
        },
        yaxis:{
          tickOptions:{
            formatString:'%1.2f TB'
            }
        }
      },
      highlighter: {
        show: true,
        sizeAdjust: 7.5,
      },
            legend: {show: true,placement: "outsideGrid",},
        series:[
        {color: rndColor(),label: '/user/aaaa/'},
        ],
      cursor: {
        show: false
      },
  });

hence graphs are not getting drawn. Is there anything wrong in my configuration which causes this behaviour any help would be highly helpful.

  • 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-29T10:48:40+00:00Added an answer on May 29, 2026 at 10:48 am

    I can not really tell why you get the error but I can tell you what is causing it:

    min: 'Jan-2012',
    max: 'Dec-2012',
    

    Specifying dates as text strings that then need to be parsed into numeric values should be avoided. jqPlot is trying to intelligently convert those to javascript date objects, but is failing. You should get used to passing in date objects or epoch times (for javascript this is the number of milliseconds since January 1, 1970.

    Modify your code to read:

        min: 1326585600000,  // number of milliseconds 1/15/2012
        max: 1355529600000,  // number of milliseconds 12/15/2012
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I hope this doesn't seem too opaque: I'm using jqPlot to make a bar
I tried to plot data useage per day using jqPlot along with its DateAxisRenderer
Im using jqplot to draw some charts. It is a great tool, but it
I am using below code to show Y axis of jqPlot at right side
When I'm using jqplot it magically injects the plot into the specified div chart1:
I am using jqplot to show graphs in an accordion. http://www.jqplot.com/tests/UI.php When I just
I'm using jqPlot and I need to turn this JSON which I receive from
I am using jqplot for drawing a pie chart. But when I draw a
Hi I'm using jqPlot to plot a graph over time. I'm also using the
I am using jqPlot javascript library ( http://www.jqplot.com/ ) for graphs and charts in

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.