Excel::Writer::XLSX separating column with bold border - perl

I've worked with the Excel::Writer::XLSX module to build a lot of spreadsheets, but I was wondering if there is a way to basically separate certain columns with a bold border. In my script I use a merge range of columns, so for example, C-E is merged, F-H, etc... So I would like to put a bold divider along the E column, the H column, etc... I think it would be some kind of add_format, however I'm already using an add_format to get the date centered, the headers rotated 90 degrees, etc. Here is a quick snapshot of what I'm talking about (this is what I'm trying to copy via perl).

Related

How do I reduce the area of the bar graph and increase that of the text in Grafana? (make labels more readable)

I have long strings as labels which is the full identifier of each deployment. How do I increase the area that the strings occupy and reduce the area for the bar graphs in Grafana.
After many attempts, this is the closest that I have come to displaying label strings in a way that is readable. Ideally a table would also be nice, but I was unable to show a table in which the labels form a column (it always took the row)
You can't change that size. I would rather focus how to make labels shorter. (I would say that "max_Sum/" is not necessary there)
IMHO: the best option is to have a table panel for this - yes, you wasn't not able to achieve it, but you only need right query, result format + transformation eventually.

How to make chart with two data axis in different sytle

How to apply different styles on characters X1 (bold and center/left position) and show asdasd (rightposition) in Y-axis of a table??
reality
edit in paint :)
You can use a multi-level axis for the category axis.
If Excel does not recognize the multi-levels, then you can fix that in the data source dialog.
There is, however, no way to format the axis labels to have different fonts and font sizes for the different levels. Excel simply does not support that.
Edit: there is also no setting to turn the outer level label around. Excel will determine how to show it and there is nothing the user can do to change that.
Don't shoot the messenger.

No repeat for text-labels on line?

I am using
"symbol-placement": "line",
to add text labels over polygons (countries) using a precalculated line which spans the country bounds. However, the text label automatically repeats itself which does not look good.
Example: Instead of a curved GERMANY, I get a curved unwanted repetition GERMANY GERMANY GERMANY GERMANY.
I could not find any option for that... Is there a work around?
Bonus question:
Is it possible to have the text span the full line and have the font-size dynamically set accordingly? That would be the perfect solution.
Setting symbol-spacing to a very high number (eg, 5000) should effectively achieve what you want.
Bonus question: Is it possible to have the text span the full line and have the font-size dynamically set accordingly?
No. But you could set the length of the line as a property on the feature, and use data-driven styling to set the font size from that. Data-driven styling for font-sizes is supported in Mapbox-GL-JS as of version 0.35.
You could potentially also use text-letter-spacing. That one doesnt' supoprt data-driven styling, but you could use filters to set some basic classes of letter spacing.

Crystal Reports fields won't align

I have several items that I want to line up. The Width and Height of all fields match. Usually I just use the Align, but it's making it worse. My out of line field which is slighly lower, moves way up, way out of line (with align tops)
So I tried using the Size and Position to set it manually. Several objects have a Y of 0.056, but my last one has 0.061. I change the last one to 0.056 and save it. It doesn't appear to be different, and when I look at it again, it's still 0.061. (When I used align, it went up to 0.028!)
I do NOT have Snap to Grid set (my grid size is 0.083). (Nor does turning on Snap to Grid make them align.) The fields have exactly the same formatting. But unless I can magically make them align by hand, they refuse to align. Why?
You've already done a lot of the regular troubleshooting steps. One more ting that I sometimes do is to select all the fields I want to align, then use the arrow keys and move them up into the section above and then back down into their original section. That usually puts them all into the 0 position. If it dosn't work with all of them selected, try each one separately.

The second column on my report is not formatting the same as the first column

I need it to look like a table so it looks similar to what the old program's report did. I finally figured out how to do columns, then I added lines between each field both horizontal and vertical. The first column formats with this correctly, but the second column only adds the line horizontally. See the screenshot:
Any help?
Personally, I prefer the new version. Less clutter. But if you want to add them, you can:
Put borders around your cells. This may cause some problems with overlap, but you can work around that by only putting borders around the Item and Price fields.
Use your line tool to draw 4 vertical lines in both the Detail and Report Header sections.
Its blind guess.. If you have copied the lines from first column there is possibility that they don't showup in second column.
Try to draw the lines again and check.