I have two group bands. one named groupBand1 and the second named groupBand2
I need to change the order of them in the report by code.
how I can do this?
Group bands have a Level property that indicates how close are they to the detail band (with 0 being the closests) just change the value of this property to reorder the level of nesting of the group bands, for more information, take a look here.
By the way, if you change the value of one group band, other group bands will be changed accordingly.
Related
I am graphing measured results versus expected results from a model, grouped by categories (the category in the boxplot below is one of a few different ones I'm using). For each data point, I subtracted the expected from the observed to determine the difference. My task is to modify the model to minimize the difference.
I would like to add the significance level to this chart but all resources I am finding are to compare means of each category to one another. In this case, I would like to know if each of the category's means is significantly different from 0. I can run this test one by one, selecting for data points falling within each category and testing for a difference from 0, but this seems inefficient.
Is there a way to automatically generate this and plot it? stat_compare_means seemed promising but I couldn't figure out how to make it work, while stat_pvalue_manual may hold more promise if I figure out how to code this.
Thanks in advance!
Sample boxplot (too new to add preview)
Using FastReport 4 with Delphi 2009.
I have a simple drill down grouped report (ie groupheader1.drilldown = true) running from a single data set with a group header followed by a master data band.
The group header has some memos with overall group data and the master band has some memos with data from that group.
To get column headers for the individual items with each group when the group is expanded I've put some memos with plain text in them at the bottom of the group header. (shown highlighted in red in the first image)
This works fine when the group is expanded but looks strange when I collapse the group as I still see a column header for each group, even though the data is collapsed. (see second image)
Is there a better way to make the column headers for the expanded data such that they only appear when the data itself if expanded?
This is the report design
This is what it looks like with the groups collapsed (note you can see all the column headers)
This is what it looks like with one of the groups expanded (that group looks OK but the others look odd)
To assist anyone else looking at this I have found the answer to be the following.
Add a second group header underneath the first one with the same
condition as the first one.
Put the col headers in the lower group header and leave the memos
with summary group info in the upper one.
Set DrillDown := true for upper group header and false for the lower
one.
so the design will look like...
I want to plot stacked column graph through Shinobi.
Please referer attached screen shot for desired graph.
Can anyone please suggest how to pass data point for the same.
Disclaimer: I am a developer at Shinobi Controls.
To get columns to stack you need to create a series for each column you wish to stack.
To get the series to stack, you must set each series' "stackIndex" property to the same value.
For example, in your image you will need 5 SChartColumnSeries with their "stackIndex" value set to the same value, lets say 1.
Now you can add one datapoint for each series with the same X value but with different Y values.
I am working on a project and need to add an additional image using the asp:chart control. Unfortunately, I've never had to use this control before and it's a bit complex to use, so I need some help.
Basically, I need to create a stacked Column chart with two legends and two columns. The first column is "income" and stacks three values. (Wages, interest and other.) The second column is "expenses" and stacks two values. (Mortgage, Other.) Each value has it's own value.
The legend for income should be on the left, the column for expenses to the right. These legends should display the texts and values for it's related value plus a 'Total' label with value.
For this task, I only have to deal with 5 values over two columns but the asp:chart control is huge and I'm drowning in all it's options. And they want it ready yesterday, so no pressure. It's already overdue... :-)
No, it's not homework. If it was, I would have practical documentation and the additional how-to information. Since my Boss expects me to add this, he just gave me absolutely no information to work with, except for the code which already contains several other charts, none of them like this one and all done by previous victims who each used their own coding style. Basically, the project code is a huge mess so useless as documentation. (And amazingly it works, as long as I only use asp:chart for these graphics.)
The biggest problem I'm having is stacking the values correctly. Since I have two columns and 3 values, it could be solved with three series, each with points for column 1 and 2. Unfortunately, this puts income and expense in the same label, which is not what I want.
If I make it 5 series, for every value one point, then the second column doesn't start at the right height. So that won't work either.
You can download Samples for Chart Control from msdn which give you complete in depth knowledge of how to use them
http://archive.msdn.microsoft.com/mschart/Release/ProjectReleases.aspx?ReleaseId=1591
For learning see these blogs as well
https://web.archive.org/web/20211020203246/https://www.4guysfromrolla.com/articles/072209-1.aspx
http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
I need to figure out how to get a column in a columnchart to show 100% height if it exceeds the axis maximum. For example, I am using a linear axis with a maximum of 2 but want to visually show that the column is at least 2 or greater but not show more than 2 on the axis.
Currently if a value exceeds the axis maximum, flex simply doesn't show the
column.
I think the best approach here would be to create a second collection based on the original one and use this as the dataProvider for the chart.
Write a function that checks the axis maximum and reset any variables in the second collection that are above this to the maximum. Also, add an extra variable that stores the difference between the max and the original value, and have this displayed in the dataTip.
Add a change listener (CollectionEvent.COLLECTION_CHANGE) to the original array, and use the handler to update the second array.
I decided to use perl to parse the xml ahead of time and add additional fields with adjusted values that fit within the maximum and minimum range. Then I use those fields in the chart and a custom datatip referencing the actual value.