Skip to Content
author's profile photo Former Member
Former Member

Gant type run chart using chart applets

I've been playing around with the event horizon chart a bit, but can't get it to do what I want here. Basically this is a line status chart. The x-axis it time, and the chart shows line stats over time. For example if running, we get a status of 0, then I want that time to be green, hold status is 1, and i want a yellow, fault is a status of 2 and I want red and. Basically this an informational chart showing line events showing up times in a graphical sense.

Here is my concept in graphical form.

http://s246.photobucket.com/albums/gg99/daholtke/?action=view¤t=EventChartcopy.jpg

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jan 24, 2008 at 08:34 PM

    The picture of your applet looks fine to me, what's the problem? Looks like a tag query results from a historian in History mode where the 'events' are interpolated. When the iChart has the UseScreenResolution=true it sets the query RowCount to the number of pixels in the chart area, so the historian conveniently (with a Resolution=0 of course) interpolates a single pixel vertical line and fills in all of the space according to your pen colors.

    What do you want the EventHorizon to do?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Doug,

      I've done this type of thing in the past with a couple of customers. Use the Area Chart and set the Y-axis range to 0 to 1.

      Then, for each type of record (or color), set the value to 0 or 1. For a given time stamp, only one of your pens should be set to 1.

      Whatever pen is 1, that is the pen color that will fill in the block until the next datestamp where another pen is 1.

      You'll probably need to use BLS to get the records to be only 0 or 1. It works, and it is actually quite quick.

  • Posted on Jan 24, 2008 at 09:18 PM

    Doug,

    My guess is that the chart you want is like the one in the picture and the one you are getting has whitespace due to not enough datapoints or the one that is filled in requires too many datapoints and is slow.

    There's no real way around this unless you are performing a tag query then you can kind of get this to work. In the display template check use screen resolution and set the Tag Query to be of type History. This will give you the least amount of necessary data points for the chart size.

    It's a big work around but there's no other option that I can think of.

    Sam

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.