I´m using actual IReport Prof. 4.1.2.3
I am trying to built a GANTT Chart.
1)
How can i put values in, (or near by) the GANTT Bars like this ? :
______________________________________________...
| 0:23:47 | | 00:09:31 | | 02:33:11 |
---------------------------------------------------------------------------...
2)
How can i configure that only X Categories can be shown in the Categorie Axis ?
If i let work the diagramm Engine for me, i will have some small lines, but the bars has to be much thicker.
And that happens, if i only have 4 values in the Categories Axis.
3) regarding to 2):
Is there a function / parameter , that configures the bar Height from the GANTT ?
thx and Best regards
Christian
i hope this answer your question I'm using Gantt Chart in IReport,
you must input the value to build automatic the chart that required that is series expression, task expression(like task) start(date/time), end(date/time) the percentage you can ignore you can see example pic in my question
Related
I'm having trouble creating a chart that combines a line chart with a stacked area chart in Tableau Public. I can create the line chart in Tableau, but after that, I don't know how to proceed. Attached is the chart I created in Excel that I am trying to recreate in Tableau.
Line + Stacked Area Chart
Thanks.
Make your chart a duel axis chart - to do this you must have at least 2 measures on your shelf - click on the right most measure a select 'Duel axis'. Once you've done this, you'll see that each measure has it's own tab on the Marks shelf, which means you can set different mark types on each - for example one measure can be a bar chart and the second can be a line graph.
Hope that helps,
Ben
I am completely new to tableau and I got a requirement of creating a donut chat with showing text in center of that chart . I created a PIE chart with all necessary data and calculations but not sure how to convert that PIE chart in to a DONUT . I have multiple legends . Something like below .
Requeestig for help on this .
Steps:
Create a calculated field as 0.
Place it in the column shelf. Duplicate the calculate field in the Column shelf.
Select 2 Calculation - Right click and select the dual axis.
Now we see 2 marks in the mark card. Both are Circle in shape.
Change first Donut(calculation) to Pie and the second to Circle.
Modify the size of both Donuts to get the correct design.
Keep any measure you want in the second mark - Label. Change the alignment to middle and center.
Regards,
Deepak
https://www.interworks.com/blog/tmccullough/2014/03/06/tableau-cookbook-donut-charts.
Have a look and you will know. There is a cookbook you can download. Detail solutions are included in the file.
I need to rotate line chart control of SSRS shown below. Whatever I do I cant find any way to rotate it. So I decided to ask it to stackoverflow.
Any help or idea will be appreciated.
Normal:
Y axes
|
|
----X axes
It should be :
X axes
|
|
Y axes ----
I have resolved my problem with some tricks.
If you faced with such kind of problem in SSRS with line chart:
Change type of chart from line to bar chart.
Enter Properties Window of series properties.
Set fill property "No Color"( Unfortunately you have to do this for
each ChartData...).
Set Legend property( Color and shape...) ( Unfortunately you have to
do this for each ChartData...).
Set PointWidth Property 0 for
each series.
To find PointWidth property Firstly,click each series and show Properties Window of Visual Studio. It is under Custom Attributes.
I'm having trouble creating the following chart in Tableau.
I have data that looks like this:
name date count
a 11/10/2012 2
a 12/10/2012 3
a 13/10/2012 2
b 12/10/2012 6
b 13/10/2012 2
b 14/10/2012 3
c 14/10/2012 2
c 15/10/2012 2
And I want to create a bar chart that has the sum of the count on the y axis and time on the x axis. The width of the bar should be the length of the time, like a Gantt chart. Each name has its own bar. Here is an image that shows what I am after.
The bars should overlap if the times overlap.
I have tried various things in Tableau but haven't really got close.
Is this kind of chart possible in Tableau? If not in 7, will it be in 8? I have heard it makes it possible to create some more complex chart types.
A workbook with data can be found at http://community.tableausoftware.com/servlet/JiveServlet/download/188799-12362/Gantt%20over%20time%20with%20summed%20bar.twbx.zip
Thanks for your help,
Andrew
The trick with Gantt charts in Tableau is to put a calculation on the size shelf that calculates the duration of each bar in units of days. See the example screenshot at Tableau example
You also need a continuous date field on the columns shelf to get a horizontal time axis.
In this example, I also did a few more optional things, such as, turned off aggegation under the analysis menu to get a mark per data row, rather than aggegating them, added a discrete date to the rows shelf to make each bar go on a different line (as long as each bar starts on a different date) and hid the column for that start date.
I´m using a simple area chart based on a simple Dataset like this:
DateTime(sql.timestamp) |Value(Integer)
2012-02-17 00:02:02 |100
2012-02-17 00:02:08 |110
2012-02-17 00:02:20 |90
2012-02-17 00:02:35 |10
2012-02-17 00:02:40 |130
2012-02-17 00:04:22 |14
2012-02-17 00:04:33 |45
2012-02-17 00:05:02 |60
...
DateTime is used by Category Axis, Value is used by Range Axis.
In the Dataset are ~1000 Records
In the Labels of the Category Axis will every DateTime Value be shown.
But that is with 1000 records too much, the Category Labels will be shown as Black Line.
And that is my problem.
I´d tried to (un)check all "Chart Properties". With no results.
Did i have to Mask or filter the labels?
I´d tried to change the values of:
Category Tick Label Mask
Category Axis Vertical Tick Labels
(This checkbox doesn´t takes effect)
Label Expression of the Category Axis
All in Several ways.
But it won´t work.
Each dataset will create an own Label.
Other report engines that i have used has calculated the Cat. Axis dynamic.
But JasperReports?
I´m using iReport 4.5.0 with (actual) jfreechart 1.0.14
EDIT
If i use a timeseries Chart, JasperReports will group the data by Intervall (Year, month,...) and that not Dynamicly
But the look of the chart is quite good, so it is that what i want.
Only the Labels has to be located far from each other.
Here a fine Example (advsoft phpChartdirector)
Here the JasperReports / IReport example:
not OK. Take a look to the cat. Axis
So.. What´s to do ?
End EDIT
Kind Regards
Christian
Use a Timeseries chart instead of a Line chart. You should get exactly what you're looking for that way.
EDIT: I tested with your supplied .jrxml and data. It works well:
But... there seems to be a bug in iReport. You cannot set the time period in the iReport GUI. Perhaps this is what is causing you problems. It was very confusing to me. iReport generates this regardless of what time period you attempt to choose:
<timeSeriesDataset>
But you need to manually change the JRXML to this:
<timeSeriesDataset timePeriod="Second">
Once you do that, then you'll get a nice chart. At least iReport doesn't remove the correct timePeriod info... so you only have to do it once.
Note: If you're concerned about details like getting your date info to display on 2 lines, this is possible as well. I hate being stuck with a single line. I wrote an article about that last year. Look for the section Category Labels on multiple lines.