Scheduling Gantt - too wide

I try the table of schedulingGantt DVT for a prototype for a new application. The application requires that adjust us the duration of the task in 15 minute intervals. Each task can last 3-4 hours.
The code of the time axis:

< f: facet 'major' = name >
< dvt:timeAxis scale = "hours" id = "ta1" / >
< / f: facet >
< f: facet 'minor' = name >
< dvt:timeAxis scale = "quarterhours" id = "ta2" / >
< / f: facet >

When I try this, each task spans more than the width of the entire page, making it almost impossible to understand.
An inspection of Chrome from Google told me that each unit of minor time column is 278 px wide, and it does not resemble a CSS problem...
Is there a way to reduce the width of the columns, or perhaps set up a default zoom on the Gantt chart set value?

I have searched on the net for the last hours of a solution, but have not yet found.

Turns out it was a really simple solution. I have set up a customized calendar for the quarter of an hour instead of the quarterhours option.

When I tried this out, the columns collapsed to the width of the label.

customTimeScales = "#{viewScope.viewBean.customTimescales}" > "

...

In the bean managed:

public map getCustomTimescales() {}

Map customScales = new HashMap ();

customScales.put ("fifteenminutes", new FifteenMinuteTimescale());

Return customScales;

}

Class FifteenMinuteTimescale implements CustomTimeScale

{

private DateFormat format = new SimpleDateFormat("mm");

private calendar = Calendar.GetInstance ();

public String getScaleName()

{

Return to "Fifteen minutes";

}

public Date getNextDate (date of)

{

calendar.setTime (date);

Calendar.Add (Calendar.MINUTE, 15);

Return calendar.getTime ();

}

public String getLabel (date of)

{

Return format.format (date);

}

public Date getPreviousDate (date of)

{

calendar.setTime (date);

Calendar.Set (Calendar.MILLISECOND, calendar.getMinimum (Calendar.MILLISECOND));

Calendar.Set (Calendar.SECOND, calendar.getMinimum (Calendar.SECOND));

Calendar.Set (Calendar.MINUTE, calendar.getMinimum (Calendar.MINUTE));

Calendar.Set (Calendar.HOUR_OF_DAY, calendar.getMinimum (Calendar.HOUR_OF_DAY));

Return calendar.getTime ();

}

}

P.S. I tried the solution of the ad three times last week before giving up, the new forum seemed to have a bad day... Hoping that fourth time lucky!

Tags: Java

Similar Questions

  • Bookmarks drop down the list too wide Firefox Mac OSX Lion 31

    When I click on the drop down bookmarks menu, it's too wide. If there is a folder in the contents list shown far right. At the point where I'm moving the mouse on there where the contents of the folder is it disappears. Am on Mac OSX Lion. I tried to scroll on the corners and sides of the drop down list to search again for the sizing handles, but none are. It is not just Firefox 31 version as has happened for some time. Any ideas please?

    Which may be caused by the presence of a few bookmarks with a long title in the main menu of bookmarks.
    The width of a column in the list of bookmarks is in the current versions of Firefox automatically adjusted the bookmark with the longest name.
    You can check the names of the bookmarks and the longer more short.

  • Dialog box confirm boxes are too wide for the page and disappear on the right side in the sites we develop. It's new. How to fix?

    In Windows and Mac confirmation dialog boxes are open now too wide. It extends on the right side of the page and therefore mask the user action buttons. The site has no horizontal scroll bar.

    When you resize the browser window, the dialog box has scaled to the correct size. As website developers, how can we prevent what happens?

    May be this bug:

    • bug 686469 - tab-modal alert can extend beyond the browser window

    (please do not comment in bug reports)

  • Why all the elements pull appears too wide for example back and before the arrows on the browser are oblong do not round?

    Pictures are too wide, too long words and circles are not round but oblong.

    Then you don't have to set correctly for your screen resolution. The picture you describe seems to indicate that your computer is configured for a square screen (or almost) but whether you are viewing on a widescreen monitor. Monitors Electronics is stretch the square image to fit the screen.

    Right-click on an empty part of the screen, then select the screen resolution. The values in the resolution box should be the same as the specification of the screen, but click on the arrow and look for the recommended option.

    The main reason why it does not work if you don't well loaded graphic drivers as this can block the questioning of the screen to set the resolution.

  • Filling of scheduling Gantt chart using the APi or PL/SQL complexL of back blocks

    Hello

    We implement scheduling Gantt in the ADF. I have a question about the Population data in the Gantt planning running.
    Can I use a mechanism to fill data in the Gantt planning running without resorting to the VO data controls/Bindings.To be more specific, we can use web services or API that return complex data types (like Arrays)
    fill the gantt(Programmatically/Declaratively) of Scheduling.

    Thanks and greetings

    "resource" is the value of the attribute "var" specified in your jspx.

    You can check the tagdoc below to learn more about the 'var' attribute

    http://jdevadf.Oracle.com/ADF-richclient-demo/docs/DVT/tagdoc/dvt_schedulingGantt.html

  • Too wide display sequence

    I must have screwed something up, but I don't know what.

    I have two settings: 720 x 480 and 640 x 360. They are defined in the actual size of the images used. It worked fine before (and works in an old file - but if I import it into a new file - there still the same issue).

    It is that the display of these sequences is WAAAAAAAAAAAAAAAAAAAY too wide. I have huge black bars on the side - and, Yes, they export this way. I don't know why it is so wide when it is SUPPOSED to be as noted earlier and said it is in the info, but clearly, this isn't when it is such that it makes the images look almost square a rectangle long and lean. : S

    Help? I can not any work done until this problem is corrected.

    It seemed to me have solved the problem by removing all the adobe folders created auto, a reboot and one from a new project. Don't know what part fixed, but it works now.

    Thanks anyway. The video was good info even if I don't solve my particular problem.

  • When I click on the restore, the button, the page Web is suddenly too wide and I can't settle it with the black arrows.

    Two hours ago, it was fine, but now it won't let me adjust the width when I restore to the bottom of pages. The width is currently half of the screen, which is too big for what I do. The black two-headed arrow appears, but it wont let me make the finer Web page. I can make it wider, however, but not what I need.

    There is a minimum width. Users have reported different values, ranging from 374 to about 400 pixels. If you need a window smaller than the minimum width, please see these discussions for how to replace the integrated with a smaller minimum:

  • Scheduling Gantt: legend

    Hi all!

    ADF/JDev version: 12.1.3

    On the Gantt chart scheduling, we have included a legend.

    In the tags and keys, we have defined what should be displayed in the legend.

    The documentation says the following:

    Labels - labels for keys of data specified in the attribute keys object. This attribute is always used in conjunction with keys, and the number of keys must match the number of labels.

    Key - the key of data object used to retrieve values for fill in the legend. These values are essentially properties associated with the task object returned by the attribute GanttModelThis is always used in conjunction with the labels, and the number of keys must match the number of labels.

    If the key is null, the legend is printed in red letters missed.

    Example:

    Description: a description

    Reference: failed

    Can we influence somehow the missed Word?

    Kind regards

    Diana

    Hi Billett,

    We found: af | DVT - gantt:legend - missing data

    THX,

    Diana

  • dynamic resizing of columns too wide (javascript, CS5)

    Hey. I'm just starting to writing scripts for InDesign (and realize how I've been losing in recent years too much time). So far I managed to solve the minor issues myself, but this one I don't know enough to make round. I appreciate that what is needed for the solution is probably a pretty great piece of code, so I'm grateful for any advice you can give, just did he hint or nudge in the right direction.

    What I have is this little piece of code that comes if applies a style of cell for all tables in the selected block of text:

    var myTextFrame = app.selection [0];

    var myTables = myTextFrame.parentStory.tables.everyItem ();
    var myTableCells = myTextFrame.parentStory.tables.everyItem ().cells.everyItem ();

    myTableCells.appliedCellStyle = "NameOfCellStyle";

    What I have to do here is looking for one of the tables of myTables which:

    (1) are wider than myTextFrame (i.e., wider than the text block, they are in)

    (2) have exactly two columns

    (3) have a first column wider than the second column

    In these tables, the first column should be resized so that the table fits exactly inside myTextFrame.

    The best solution would be a dynamic resizing is not dependent on the specific numbers, because the size of myTextFrame may vary, but right now I'll settle for what it is, even if it means the creation of several scripts for text different widths of chassis.

    So there. After too many attempts failed, resulting in large part of me having very little evidence of what I'm doing, I'm about to give up. Any help or advice is greatly appreciated.

    Thank you

    Let's go top a step at a time.

    for (s=0; s
    

    If your tables have lines on the outer edge, zoom in! The right side of the resized table is inside the text frame, but his race is on the outside. If this is a problem, you probably have to subtract the thickness of the line of the available width as well. (I don't usually have this problem, because most of the time, my paintings is outline.)

  • A page of the site is too wide and there is no horizontal slider to allow access

    A site that I use on a regular basis has recently been renovated, and the new page is wider than my widescreen. There is no horizontal cursor to activate the overall analysis. I confirm their helpline and was told that the log-in box is in the upper right of the screen. The part that I can't access! Added the help site, it must be my problem not them. Not very useful.

    I tried to minimize the screen and pulling on the side, but that just makes the larger screen without revealing more of the web page.

    Does anyone have any advice or suggestions?

    Hi, try zooming with Ctrl and - key (Ctrl and + to zoom in, Ctrl and 0 for the default value). You can also hold CTRL while rotating the mouse wheel.

  • DV7-4143EA secondary display too wide

    When expand my display on my Samsung TV, the resulting display is not quite correctly calibrated size and is too broad.

    Catalyst settings are set to the recommended size for the Full HD TV.

    How can I fix the calibration?

    Neil

    I found the scaling options when I clicked on the TV icon in the catalyst.

    I had to underscan image on television.

    It is wonderfully accurate, but it is close.

    N.

  • Scheduling Gantt Tooltip

    Hello guys

    I'm jdev 11.1.2.3

    I have a schedulingGantt that has a ToolTip, the tooltipKeys and the label are sent through the bean as an array of strings, I am sure that the keys are correct and that they correspond to the properties of the task class and labels will also match keys

    the problem is when I hover over a task I get the following exception

    javax.faces.model.NoRowAvailableException
      at javax.faces.model.ListDataModel.getRowData(ListDataModel.java:150)
      at org.apache.myfaces.trinidad.model.SortableModel.getRowData(SortableModel.java:127)
      at org.apache.myfaces.trinidad.model.ChildPropertyTreeModel.getRowData(ChildPropertyTreeModel.java:216)
      at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichSchedulingGanttRenderer.getTask(RichSchedulingGanttRenderer.java:1924)
      at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.renderTooltip(RichGanttRenderer.java:6194)
      at oracle.adfinternal.view.faces.bi.renderkit.gantt.RichGanttRenderer.encodeAll(RichGanttRenderer.java:950)
      at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1452)
    

    need help please

    Thank you

    the problem was with gantt chart model that if the model was empty when the Gantt chart is first loaded it causes such a problem trying to add nodes to the model

    the solution is to first load with an empty resource gantt chart so you can add as much as you want

  • Issue of smartphone: too wide and hidden at the foot of page

    RE: www.matthewmenger.com

    I just finished a website for an artist. Site was rendered in Muse and built for three platforms: desktop, Tablet and smartphone

    There seems to be a problem with the layout of the smartphone, however. The width of the layout seems to be too large for iPhone 4/4 s and iPhone 5/5 page layouts. I can slide from left to right, and the screen moves to the right and to the left. It seems to me to be more fixed.

    The big problem, however, is with the footer. The footer is out of sight on the iPhone 5/5s. I can see it only after slide downwards. To try to solve this problem, I climbed the 'bottom' and at the bottom of the browser control rods, but which have no visible effect.

    If you have experience with this issue, I would like to hear from you.

    Thank you very much!

    Here is my screenshot of the same page. Perhaps you are zoomed in a bit?

    Your footer is hidden because your page is longer than the screen.

  • Scheduling Gantt Chart - highlighting of modified duties

    We strive to implement our Gantt chart behavior as on the actions of the user like drag-and-drop, changes are not immediately committed to the database.

    We ask a commit on the transaction to save all changes when the user presses a button 'save'.

    However, we would like to highlight modified (for example, the extended duration task) duties in a different color to keep track of all the actions of the user, while the changes are not yet validated.

    Commit, all jobs must go back to the default color.

    I'm doing it with the TaskbarFormatManager, but can't find a way to use it for this particular requirement.

    Can I use a column in my table to map the type of task for the Gantt chart, and how to upgrade this attribute in my VO / Gantt chart when a task is changed?

    I managed to solve this problem quite awhile, but I forgot to post the solution.

    I have added a transitional attribute to my entity object.

    <>

    Name = "TaskChanged".

    ColumnName = "" $aucun$ ""

    SQLType = 'VARCHAR '.

    Type = "Java.lang.String"

    ColumnType = "" $aucun$ ""

    IsQueriable = "false".

    IsPersistent = "false" / >

    In the entity bean Get accessor method.

    public String getTaskChanged() {}

    If (this.getEntityState () is EntityImpl.STATUS_MODIFIED)

    return "CHANGED";

    If ((String) getAttributeInternal (TASKCHANGED) is nothing)

    on the other

    'CLEAN '; return

    }

    Add this attribute of the entity object to the original Version. The application of VO is unchanged.

    In the Gantt chart in the jspx, I put the Task Type to the attribute TaskChanged.

    And the code for TaskbarFormatManager is as usual:

    public TaskbarFormatManager getFormatManager() {}

    TaskbarFormatManager _manager = new TaskbarFormatManager();

    _manager.registerTaskbarFormat ("CHANGE", TaskbarFormat.getInstance ("gold", UISchedulingGantt.GOLD_FORMAT));

    _manager.registerTaskbarFormat ('CLEAN', TaskbarFormat.getInstance ("blue", UISchedulingGantt.STEEL_BLUE_FORMAT));

    Return _manager;

    }

    When the validation is called when the click on the "Save" button, the entity is no longer in an altered state, and all the recorded tasks back to the steel blue format.

  • PS is too wide (large) to display on my iMac

    I don't know what I've done, but both my My lightroom and PS CS4 are now too large to display on my iMac.  Also well vertically than horizontally.  I use them for a few years and never had this problem?  Any ideas on how to solve this problem?  I hate having to move the cursor on each side of the screen to see the panels in Lightroom and the same thing in Photoshop.

    Accidentally resize you large images. Increase the resolution of the screen just temporarily so you can see the lower-right corner of the frame, then reszie children and who will keep when you restart.

    If you can somehow drag the images until you see the lower right, then you don't have to change the resolution of the screen just drag the corner toward the center of the screen until you are happy with the size of the image.

    Sometimes I make it bigger so I do not accidentally adjust something I dod won't settle. Probably not necessary but I do anyway.

Maybe you are looking for

  • Pavilion 15-ab173cl: Menus and drop-down lists close before I can click on

    Any menu or drop-down to open menu closes before I can click on options. Happens if I right click on the screen to see the menu, right-click on any applications programs in the start menu to see options, when I'm in a browser and click on a drop down

  • Is Camileo S20 - possible to turn off the screen?

    Is it possible to turn off the screen when you use modes Time Lapse or motion detection to save energy?

  • Windows 7 Homegroup appeared on my laptop today and I want to uninstall

    I'm trying to find Windows 7 Homegroup uninstall from my Toshiba laptop. It has just appeared outta nowhere today and I can't find it in my programs to uninstall, I can't delete the icon on my desktop... im stuck. Im not interested to share with all

  • sharing files and attributes Office offices remotely

    I use my xp remote desktop to connect to three win 2003 Server DW1 and DW2 DW3. Because they all have enough similar content that it can become a bit confusing, so I thought I would use a different color for each office. But then I found that when I

  • Drop of connection

    I would like to understand this connection problem has dropped. I have a wrt54g v5. For several months I had a loss of connection once a week. It now happens several times a day. My installation includes a Motorola Surfboard Modem in the Vonage WP2 w