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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:19:36+00:00 2026-05-31T20:19:36+00:00

Currently i am looking into making a bar chart in my WPF application. Although

  • 0

Currently i am looking into making a bar chart in my WPF application.

Although i am not sure what exactly sure what the best way would be for handling this:

  • WPF Toolkit (last update seems ages ago, dated since 2010)
  • List control and style / display it as a bar chart
  • …?

The layout will be pretty basic, but it would be nice if the bar charts could actually be updated at run time.
The values of the bar charts are being generated trough SQL server database values.
The bar char values will always be times (HH:mm:ss).

Also the 4-5 bars that will be displayed are related to each other (so bar 1 cannot for example exceed 100% if there is a other bar if this makes any sense).
The bar are shown within a 24 hour time frame.

With each bar there has to be also a timer that actually times how long the certain activity is running (in a separate textbox, it does not require to be included in the chart itself).

So to sum it up 1 bar will include its name and it value (hh:mm:ss) in separate labels / textblocks. Unless there is a better solution suggested.

Currently i have the layout, but it only consists out of a grid, labels and retangles.

Thanks.

  • 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-31T20:19:37+00:00Added an answer on May 31, 2026 at 8:19 pm

    That’s how I would do it:
    I’d use a simple ItemsControl as it is the most lightweight control for this, and for ListView etc. you would have to turn off a lot of stuff.
    Then I would create a list of items where each item represents one of the bars, and those items (in a list) are the bound to the items control. Each item will contain the properties needed to display it (actual value, etc.).

    The ItemsControl then gets a Datatemplate where height and width are bound to the properties of the items (using a converter) to display them properly.

    If you want to change a bit how things are displayed, I’d use a Canvas as ItemsPanel which allows you to freely position the items.

    If you use for the list of items an ObservableCollection and each item implements INotifyPropertyChanged, you can easily update the display of the bars.

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

Sidebar

Related Questions

currently, I am looking deeper into testing techniques, even though I am not sure
I was currently looking into memcached as way to coordinate a group of server,
I'm currently looking into unit testing for a new application I have to create.
I'm looking into some XSS prevention in my Java application. I currently have custom
Currently looking into learn new technology and silverlight is on the potential list. However,
I am currently looking into spliting a very long string that could contain HTML
I am currently looking into color manipulation / selection etc and have come across
I am looking into improving the backup process a group of animators use. Currently
I'm looking into the various ways to validate input for an editable JComboBox. Currently,
I'm currently looking at different solutions getting 2 dimensional mathematical formulas into webpages. I

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.