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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:57:24+00:00 2026-05-29T04:57:24+00:00

I have a chart with X-axis showing timeline and Y-axis showing value for an

  • 0

I have a chart with X-axis showing timeline and Y-axis showing value for an object. The time line values are in ‘milliseconds’. I have give the user a way to select timeline, user can select a day/week/month/months. So, in my Chart I want to show all the data points for the selected range but want to limit the date labels displayed on the X-axis. For Ex: if user selects a week, I want to display Mon to Sun on the X-axis. And if user selects a day, want to display a label for every 3 hrs like that…

I guess it is possible if only, I look at the selected time range at run-time and based on the starting (t1) and end (t2) time, I make a decision. Is there any API available in Flex’s DateTimeAxis to achieve this ? Or any other ideas on how to get this working ?

Thanks,
Ravi

  • 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-29T04:57:24+00:00Added an answer on May 29, 2026 at 4:57 am

    I have had a lot of difficulty trying to bend the DateTimeAxis to my will 😛

    What I have found works more often for specialized situations like this is to extend the CategoryAxis. You can always generate an array of only the dates that you care about and use those as the category axis. I am not sure if this will work for your situation, but it is the first place I would look.

    This will of course require a lot more effort, because you need to customize the display of the axis items to look like dates or times, but I think it works for custom situations.

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

Sidebar

Related Questions

I have line chart which has values : flock_age = X-axis = 16, 17,
I have a chart showing a large time period on the X-Axis (about a
I have a line chart in flex with a dateTime axis. I am setting
I have line chart, using achartengine library. In x axis there are Dates. I
I have a bar chart with the vertical axis this way <mx:verticalAxis > <mx:CategoryAxis
I have a chart on a Windows Form with several line graphs. I would
I have a line chart that is updated every so and so seconds, similar
Is it possible to restrict flex bar chart y-axis count? I have a very
I have a chart in SSRS that needs to have a flexible x-axis grid
I have a chart in an SSRS report. I usually have 10 different values

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.