Appearance settings help you manage the look and feel of your Vizlib Bar Chart.
Note: You can only display a chart if you have more added more than one metric or dimension.
TABLE OF CONTENTS
In the General section (Figure 1), you can add a Title, Subtitle and Footnote, as well as Show Details to display descriptions and information on measures and dimensions.
Figure 1: General
The Presentation settings control the outward appearance of the bar chart (Figure 2). You can select a chart Type (Group or Stack) and enable the Stack 100% bar settings if you choose Stack. You can set the chart Orientation and the Direction of the y-axis display. You can use the Bars Formatting settings to change the Groupbar width and Radius, and enable Connected Bars, setting the Opacity to make them distinct from the values they're connecting.
Figure 2: Presentation
You can use the Bar Data Values Formatting (Figure 3) to set a Font Color, Font size mode and Font Size Scale for the bar data values in the chart, as well as the choose the Orientation and where to Align the data values. You can enable Scroll Preview to view the full set of available bars using a scrolling mini chart, set the Scroll Alignment to the start or end of the chart, and set the Scroll Position to Top or Bottom and use the Max bars before showing scroll to pre-define the scroll range.
Note: Hiding the scroll will display all the bars and resize them based on the available space.
Figure 3: Bar Data Values, Scrolling
Colors and Legend
In the Colors and Legend settings (Figure 4) you can choose to either use a pre-defined collection of colors, or define your own custom color palette by comma separating a collection of hex color codes. The Auto setting will inherit colors from master items (master measures and master dimensions), we plan to support master item colors for dimension values in future.
You can choose between options for Single color, color By dimension and color By measure. Note: Coloring by expression is located in the Data section, using the Bar Color settings for Measures. This offers the ability to color the bar based on any expression. You can reverse the color palette with Reverse Colors, and choose not to reassign colors by selecting Persistent Color. You can also define your own Null Value Colors.
Figure 4: Colors
Setting Show Legend to On (Figure 5) displays a legend in the bar chart. You can select the Legend Position and choose the alignment using Align. Top and Bottom legend position can align Left, Center or Right. Left and Right can align Top, Center or Bottom. You can also set the Legend Font Color, Font Size, and choose to Sort Legend By Load order or Value (and in ascending or descending order). If dimension values exceed a certain length, you can apply and set a customized character limit with Char limit. You can also select to Show Null Values in Legend and Show Legend Title.
Figure 5: Legend
The Grid Format settings (Figure 6) allow you to control the grid settings for the chart if you choose to display one, setting the Grid Style, Grid Color, Grid Opacity and Grid Thickness.
Figure 6: Grid Format
If you enable the Axis by selection Show, the X-Axis settings (Figure 7) allow you to set the axis Postion, and if you show a Dimension Title, you can set the Color, Font Size, Label Font Size, and Label Font Style. You can also display alternative dimensions with Show alternative count, and display the chart navigation with Show drilldown breadcrumbs.
Figure 7: X-Axis
You can also set a Char Limit for dimension titles and Enable multi-line labels B (Figure 8). In Axis Styling, you can choose the Font Color, Font Size, Axis Line Color and Axis Thickness.
Figure 8: Char Limit, Labels, Axis Styling
Displaying the Y-Axis settings (Figure 9) allow you to set the axis Postion, and if you show a Dimension Title, set the Font Color, Font Size, Label Font Size, and Label Font Style. You can also display alternative dimensions with Show alternative count, and display the chart navigation with Show drilldown breadcrumbs.
Figure 9: Y-Axis
In the Axis Styling settings (Figure 10), you can set the Font Color, Font Size, and choose to Force Font Size. You can set the Axis Line Color and Axis Thickness, set a Ticks count, choose the Axis Tick Format, select how to display a Negative Format, enable a Currency Format and choose an Axis Range with min/max smoothing to round off your start and end values to a whole number.
Figure 10: Axis Styling, Ticks, Axis Range