gantt-chart

Text labels inside jfree Gantt chart bars

有些话、适合烂在心里 提交于 2019-12-17 20:28:51
问题 I have a simple Gantt chart here, that consists of a number of Tasks just like that: TaskSeries s1 = new TaskSeries("Planned Tasks"); Task newTask = new Task("Task" + String.valueOf(taskIndex), new SimpleTimePeriod(currentTime, currentTime + (int) distributionTime) ); s1.add(newTask) final TaskSeriesCollection collection = new TaskSeriesCollection(); collection.add(s1); JFreeChart chart = ChartFactory.createGanttChart( "Distribution ", "Task", "Time", collection, true, true, false ); Is there

gannt chart formed by google bar chart: different color to each bar

社会主义新天地 提交于 2019-12-13 07:06:03
问题 I have the following sort of gantt chart coded up using Google Charts, but I would like to assign different color to each bar. Now in my case since I am assigning a transparent color to spacer , I dont understand how I can assign a different color to each remaining bar. This probably comes down to assigning the same series in different bars different colors. Can someone help me out with fixing this? http://jsfiddle.net/bootkick/hp2yr/ google.load('visualization', '1', { packages: ['corechart'

JavaScript / jQuery library for gantt like chart

瘦欲@ 提交于 2019-12-12 20:23:01
问题 I need to create a stacked bar chart showing the engine status in a day. Here is the example of what I would like to have: It looks like a gantt chart, but probably much simpler than a normal gantt chart. I am badly looking for a JavaScript/jQuery charting library which supports this kind of chart. I know lots of gantt chart library available, but wondering which library have the option/setting for the chart I want. My data would be in this format: [ { "day": "2009-07-13", "work": ["11:16:35

Customize the bar colors in Google Gantt Charts

那年仲夏 提交于 2019-12-12 08:37:35
问题 This should be simple. How can I assign my own colors to the bars in Google Gantt Charts? The gantt is ignoring my colors and automatically assigning blue, red and yellow colors (in that order) to the bars and I can't seem to figure out the problem. Can someone please point out if I am missing something here or is it not supported at all at this time? Here is what I have: function drawChart() { var data = new google.visualization.DataTable(); data.addColumn({ type: 'string', id: 'task_id' },

how to add two different values on gantt(range bar) chart in SSRS

折月煮酒 提交于 2019-12-12 06:58:07
问题 I would like to report like this: I want to show orders for every line and order has setup(yellow) and productıon(green) phase. Setup and Phase widths depends on actual_start_time and actual_end_time. My query result is like this: I tried to create report stacked bar, you can see this link: How to design bar chart on SSRS but if I create like this my report running very slowly. that's why I try to create report use range (Gantt) chart. report design: and report preview: I want to show

Gantt Chart react-d3

青春壹個敷衍的年華 提交于 2019-12-12 03:28:46
问题 This question is related to Gantt chart with D3 I see that a pretty close implementation is available for AngularJS at https://www.angular-gantt.com/demo/ Is there an equivalent in React? I've checked http://www.reactd3.org/ and https://github.com/FormidableLabs/victory but there is nothing at the moment that seamlessly has the Gantt features. What would the best way be to go about this with React. The collapsible rows and the brush are the attractive features in the Angular Gantt. This -

Add y-axis gridlines to D3 Gantt chart

岁酱吖の 提交于 2019-12-11 04:09:07
问题 What's the best way of adding horizontal gridlines to a d3 gantt chart like in this example? I was originally thinking of making an axis and making the tick marks the length of the chart (as in this example), but this puts them directly in the middle of the chart rectangles. Is it possible to make the axis ticks into "lanes" around the rectangles, or would it just be easier to plot lines (as done here)? 回答1: A solution comes from this issue post on GitHub. Basically just translate the axis

Angular-Gantt - possible to change day's header to 'M,T,W,Th …' instead of date?

依然范特西╮ 提交于 2019-12-11 03:14:20
问题 I am working on a scheduling app using the Angular-Gantt.js module. It is working fine --> except I'd like to customize the header to display "M,T,W,Th,F ..." for the columns in the day viewscale. Currently it displays like this demo version --> https://www.angular-gantt.com/demo/ From the documentation for the module, there are events triggered after the headers are created and displayed and not when the header is being created. There is however a guide on how to write a plugin. I am

Free library supporting Gantt charts and granularity <= 1 hour

落花浮王杯 提交于 2019-12-08 07:44:28
Is there a free graphical library that supports Gantt charts with units of hours or even minutes? I've tried a few. JFreeChart was among the most promising but scaling down seems to reduce the maximum timescale represented to just a few days. JFreeChart should be able to go deeper that days. SimpleTimePeriod can represent time down to the millisecond. Might just need to adjust the time display of the axis from the plot. The nebula solution may solve your problem, you have access to the code so you will be able to change something if you need. 来源: https://stackoverflow.com/questions/6303302

jqplot text labels on y-axis

空扰寡人 提交于 2019-12-08 01:14:51
问题 I'm trying to make a Gantt like chart in jqplot. I want to make two timelines in the same plot. As you can see by the code and jsFiddel, I've got this working for the most part. I've added a few series manually (and added a series config) ofcourse this will be in a loop later. The problem I have now is that on the Y-axis I don't want numbers, but the text labels of the series ("contact" and "Locatie"). It would be nice if this is done dynamically, but 'hardcoding' them is not a problem since