Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Structure

...

  • Chart Legend” text should be on the level of the column groups. The chart legend is then produced by merging the column group and column cells together.

    • If any chart column does not have a name set or is set to empty string (““), the chart legend will not be generated

  • Bar coloring follows the defined theme. Once all colors are used, they start cycling.

  • The column width can be set by setting tableChart.chartColumnWidth in the metadata (see below on how to set metadata) or the DimensionGroup.width property

  • The last column width need to be set in percent

...

Table Style Metadata Parameter

Explanation

Default

Visualization

tableChart.axisBorderColor

Defines the color of the border line between negative and positive bar chart.

This value is set in Hex.

#000000

(Black)

tableChart.axisBorderWidth

Defines the width of the border line between negative and positive bar chart.

This value is set in pt.

0.5 pt

tableChart.barHeightInPt

Defines the desired bar height in the chart. This value is only effective if no resizing (proportional shrinking) of the chart is required.

This value is set in pt.

8.50394pt

(0.3 cm)

tableChart.minimumAxisWidthInMM

Defines the minimal width of the negative and positive bar chart side.

This value is set in mm.

4 mm

tableChart.minimumBarHeightInPt

Defines the minimum bar height in the chart. This value is guaranteed and will force the cell height to grow if necessary.

This value is set in pt.

4.25197 pt

(0.15 cm)

tableChart.minimumChartPaddingInPt

(new)

Defines the minimal vertical padding for the bar chart.

Notes:

  • Padding is achieved by adding additional row on top and bottom of the chart

  • Effect of parameter only visible if:

#bars*minimumBarHeightInPt + 2*minimumChartPaddingInPt > highest_cell_in_row

  • Bar Chart placement follows alignment settings of word channel (should ideally be set to centered). Important for cases where the effect is not visible.

  • If minimumChartPaddingInPt is set to 0 or the row’s height is set to Exactly, this parameter will have no effect

This value is set in pt.

Depends

Image RemovedImage Removed

Image AddedImage Added

chartColumnWidth

Defines string aliases to be used for the otherwise numeric chartWidth BB parameter.

This value of chartColumnWidth is an object from string to number, where the number is in % (from 2-100).

ex.:

Code Block
chartColumnWidth: {
  "narrow": 20,
  "standard": 48,
  "wide": 60
}

Note: Many table-chart BBs support the parameter chartWidth, albeit only via JSON code-view.

Setting Table Style metadata

For all occurring table styles in the template file (.docx)

For a single table style

Image RemovedImage Added

Image RemovedImage Added

Note: Some parameters are mandatory and need to be set either for all styles occurring in the section “Vertical Table Style” at once or individually

...