Showing posts with label Gantt. Show all posts
Showing posts with label Gantt. Show all posts

Thursday, January 15, 2015

Initial Gantt Chart Timescale, Vertical Row Height, Start Date and Splitter Position

Since we've updated IntelliGantt for SharePoint to an HTML5+Javascript solution we've been able to make it more customizable than ever. If you are familiar with JSON (JavaScript Object Notation) than you'll find it very familiar indeed to change variables that then change behavior of the IntelliGantt components. Even if JSON is completely new to you, check out this example where we show how to change the initial Gantt timescale, row height, start date and splitter position properties.

When you first install IntelliGantt for SharePoint the accompanying configuration.js file is set to the defaults. There are many fields to change (and many blog posts in the future!), but the fields we will focus on here are:

    splitter: {
        initial: {
            percentage: null
        }
    },
    gantt: {
        initial: {
            verticalPercentage: null,
            horizontalPercentage: null,
            dateStart: null
        }
    },

When IntelliGantt initializes, it looks for these values within configuration.js to resolve its starting state. Null of course means there is no alternative provided thus IntelliGantt will use its defaults. However, you can certainly make changes. 

For example, here is a default view of a SharePoint Task List.


Let's say we want to change the initial splitter position, the initial gantt row height, the initial gantt timescale and the initial start date of the left edge of the gantt chart. For that we need to edit the configuration.js file.

First go to your Site Assets library.


Navigate into the library and into the IntelliGantt folder you created. Here is the configuration.js file you will be changing.



If you haven't made any changes up to now, it will be just like the default configuration.js file we ship with IntelliGantt for SharePoint.



Notice the section looks just like the JSON we introduced at the top of this blog post. To change the values to something IntelliGantt for SharePoint will recognize means doing so in the right format. Percentage values are between 0.0 and 1.0. Date values use the ISO 8601 standard. So, if we want to change the splitter value to 10%, the gantt row height to 75%, the timescale to 75% and the left edge starting date to February 1, 2015, then we do the following:



Update the configuration.js file in your Site Assets library. Depending on your browser and cache settings, you may need to clear your cache in order to see these changes. When you're ready, go back to the IntelliGantt for SharePoint tool and check out the modifications.




Remember this is just the initial state. Users are free to make adjustments afterwards.


Where this will come in handy is when you want to focus on a specific date and time of the project, zoom into the gantt and maybe even, with the help of coloring, highlight particular tasks for everyone to see.


Monday, April 15, 2013

A Few New Gantt Operations

What is the most important thing to make flexible in a Gantt Chart? We think it has to be the timeline. As such, based on our earlier work, we keep the same, fluid interactive zoom in and zoom out feature that users love. Whether by mouse or by finger you can grab a slider and zoom the timescale (the horizontal version of the Gantt Chart) from hours to years. (Yes, construction folks, years. We heard plenty of feedback on how long your projects can be and therefore how much scale is needed).

Typically this timescale zooming is along the X-Axis, or your horizontal view. Given that all 2-D projections have a Y-Axis as well it seemed a shame not to use it. So we thought some on what would be useful if a user zooms things vertically? Given that a major design objective was being adaptable to multiple platforms and devices, the answer, we believe, is font size-- or what is displayable per row. Yes, if you rotate your device we can resize the XY of the Gantt Chart, but that doesn't mean we know the pixel density of the device and what is the best viewing. So we provide the same fluid, interactive slider vertically to adjust your font size for your display.

Let's see how this works. Here is our initial scale:

You can grab the right bottom slider and move it left:

Or you can move it right:

The timescale will adjust as you'd expect. Now what happens when we move the right vertical slider up and down? You will see the font size change. For example, if you want to compress the rows to fit as many as possible in your view, move it up:

If you want to make the rows 'taller' so you can read them easier, then move the slider down:

Finally, we noticed lots of space in the Gantt Chart when the vertical slider is down a ways. So we put in an option to show fields from your tasks right in the Gantt. You choose the fields, we display them with the task. On the left had side of the chart we click the 'Configure' button that brings up our options:

We can put 'Display Name' in the first slot:

And maybe the Due Date in the second slot:

We think the result is a Gantt Chart that can scale both to your timescale needs and to your eyeball needs.

Tuesday, April 09, 2013

The Next Generation of Project Visualizations

We've taken a look at the landscape these days and are really enjoying the changes. It used to be you'd select one platform (Windows) and create your product. Now you have a whole host of platforms to choose from, each with astonishing growth rates, developer stories and potential. The trick is to pick the one best suited for your customers as well as for your own needs. Our bet? HTML5+Javascript.

Yes, we remember well the days of client side Java and the ability to 'write once and run anywhere' (which of course became 'write once, debug everywhere'). However, you have to evaluate each opportunity with a fresh viewpoint and, given the current state of HTML5, Javascript, the fragmentation of Android, the ceiling of iOS and the backwaters of 'Others', the only common facility among them all is the ability consume rich web pages. So, we are going for it.

In the coming weeks we will unveil the next generation of our gantt chart visualizations. In addition to many great new features (swimlane resources + tasks, resource support, vertical scaling, in-gantt editing and more), we will also showcase broad platform support by showing it on Windows, Mac, iPad, Google Nexus; within Internet Explorer, Chrome and Firefox; by mouse and by touch.

Our first offering will be with 37 Signals Basecamp, to be followed soon by SharePoint and any other platform that supports web services.

These are exciting times and we look forward to working on the next generation with you.