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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T23:07:30+00:00 2026-06-03T23:07:30+00:00

I am trying to make a demonstration using cubism. I have created a custom

  • 0

I am trying to make a demonstration using cubism. I have created a custom context.metric, similar to the random() function on the cubism homepage. This loads my data set and renders correctly, showing a new row each second.

What I want to do now is have the axis scale domain update as well, using the date column from my dataset. For the purposes of demonstration, I want each second that passes in wall-time to correspond to one row in my dataset, which is hourly. I can set the scale domain when I create the context, but I cannot get it to update when new data is fetched.

I have tried to listen for context events such as change, and beforechange and manually update the domain there. It does not seem to work, or I am doing something wrong. Any suggestions would be greatly appreciated.

Thanks for the awesome libraries!

  • 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-03T23:07:32+00:00Added an answer on June 3, 2026 at 11:07 pm

    The context’s time domain is fixed by the context step and size. For example, if you have a step of ten seconds and a size of 1,440, then the domain is the last four hours. If you use context.axis to display the axis, it will update automatically whenever the context fires a change event; you don’t have to do anything. Cubism is designed for realtime dashboards, so it doesn’t support advancing an hour per second.

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

Sidebar

Related Questions

Trying to make this jQuery filter that uses .find case-insensitive. For example, when the
Trying to make the infamous checkall checkbox for dynamically created rows from a MySQL
Trying to make a simple number clicker control for BlackBerry 6/7, like this: At
im trying make one replace in string from a array but this dont work
I'm trying make a <dl> to define the icons I am using on the
I'm trying make some stuff in jQuery using ASP.NET. But the ID from runat=server
I'm trying make this code which is from a Dictionary of Arrays (CODE) from
I've been banging my head against a wall trying make this work for a
I'm trying to make a map that doesn't wrap horizontally, using the Google Maps
Right now I'm trying make some browser based game. But I have little questions.

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.