Bar chart widget



Glossary

The bar chart is a widget that looks as follows:

Create a bar chart

When editing a document, place your cursor where you want the bar chart to appear. Click "Insert widget" in the top menu. Choose "Bar Chart". 

Adding tags

In the dialog on the right, select the page category or tag that you would like to use for this chart. This could be a tag that contains numeric values or a tag of which you want to count the number of occurrences per unique value. 

In the above example we have chosen the "Post" page category, and added the "Author" tag as well. This isn't a numeric property, so Silk will count the number of occurrences for each author. I.e. how many blog posts did each author write?

Options

In the options menu, select which value(s) you want to display in the chart. When your tag is numeric, the numeric value will be used on the chart. Use the dropdown box to select the tag that will be used as the label. Choose as many numeric tags as you like. The bar chart will display them all. 

When your tag isn't numeric, you can use the "Group by" feature to count the number of occurrences for each value. In this case you can only select one tag. 

More about widgets

There are many more widgets available, and you can do more with widgets, such as filtering or sorting information. To learn more, read our inserting widgets tutorial.