Building Custom Charts
Chart Builder is a powerful feature that allows you to build custom visualizations on top of your data so you can quickly see what matters most to you and spot trends that you might have otherwise missed. In this article, we'll walk you through the process of creating a custom chart.
Creating a Chart
Inside your application, navigate to Web Forms or Datasets, select the form or dataset you'd like to analyze, then choose the Analyze tab.
Next, from the view selector, choose Custom View.
To create your first custom chart, click the Add Chart icon.
Next, choose the type of chart you'd like to create and click Next. For this example, we're going to select a simple bar chart, but Qrvey has options for bar, line, pie and symbol charts, as well as word clouds, heat maps, geo maps and box and whisker style charts. The options and settings for each chart will vary slightly from the example below depending on the chart you choose.
Chart Builder Interface
When you first enter the Chart Builder, you'll find three tabs for Values, Chart Options and Visualization. You'll be entering your values and options on the left and there will be a real-time example of what your chart will look like on the right.
In the Values tab, you can provide your chart with a name, then assign your category and value columns from the drop-down menus. You can provide custom labels for either column. Finally, you can select an aggregate value for your data. Once you have assigned all of the required values, a sample of your chart will appear on the right.
If you've created a linked dataset using Data Links, you will see columns for both your source dataset and the additional datasets you've linked to as seen below.
If your category column is a date field, you will also see a Date Grouping dropdown list where you can select how you'd like the dates in the column to be grouped.
If you've selected a Crosstab Table, you'll find a slightly different set of values to select. You will first provide your table with name, then provide the values, rows and columns from your datasource.
In the Chart Options tab, you can choose to add additional layers to your chart for things like combo and multi-series charts as well as trend and reference lines. To begin, just click + Add Another Layer and then choose which type of layer you'd like to add.
If you choose to add a trend line, you can then select which type of trend you'd like from the drop-down menu. The preview chart on the right will automatically be updated with your selection.
If you choose to add a reference line, you can select from a number of options, including which axis you'd like the reference to appear, whether that line should be fixed or dynamic in nature and you may provide a label for the line.
If you choose to create a combo chart, you will be asked to provide the column for your additional data, along with the chart type, axis and label. In the example below, we've added Units as a line chart along the X-Axis. You may add even more columns to this chart by clicking on the + icon.
If you select multi-series, you will be prompted to select a second column from which to pull additional data. You can then choose to display your data either stacked, cluster or as a 100% chart as shown below.
In the Visualization tab, you can set the options for how your chart will look, including color, bar orientation, labels, tooltips and lots more. In addition to global settings, you'll also find specific settings for each layer of your visualization. The chart on the right will update in real-time with the selections you choose.
Most of the visualization options provided are self-explanatory and you'll be able to see the changes appearing in the sample chart provided. These options will vary slightly depending on the type of chart you are building since each chart type has its own unique features and options.
The Panel Size option changes how your chart will appear after you save and exit chart builder. It will adjust the width of your chart to either one, two or three columns wide. This option does not change anything in the sample chart while in chart builder.
Once you are happy with all of your selections, click Save and your new chart will appear in the custom view as seen below.
You may edit your chart at any time by clicking on the three-dot menu in the lower right corner of the panel and selecting Edit. Your custom view charts can quickly be filtered to meet your needs. You may also remove a panel from this location as well.