New Chart Form

The new chart form that has the form name NewChartForm is designed to be able to add a new GenericChart by loading a csv file, previewing it and loading a single data column. You can also add a y-axis, but that is not obligatory.

Loading the file

You can simply load a csv file and it will preview the first ten lines of the file. This number can be changed via the server code, but ten lines provides a good preview while loading the data fast and keeping the layout neat. All csv files will load using the comma delimiter, but you can change that to whichever delimiter your csv file is saved in by indicating it in the input box and clicking the Reload File button.

Give the chart a title

Above the actual chart there is an area to give the chart a title before saving it.

Enter group name

Before saving the chart, you can enter a group name. This is to give flexibility to the user to be able to load different charts on different components depending on layout requirements. For the basic dashboard example, the home page is divided into three flow panels called Top, Middle and Bottom. Each flow panel has a different custom layout, so that the charts can be loaded differently using a single for-loop while having a different layout.

Last updated