// Connection
if (attribute != null) {
TangoKey tangoKey = new TangoKey();
TangoKeyTool.registerAttribute(tangoKey, scanServerDeviceName, attribute);
DataArrayHandler currentHandler = new DataArrayHandler();
chartBox.connectWidget(currentHandler, tangoKey);
// Set on the desired axis information Key is equal to the dataView id
setRefreshingPeriod(tangoKey);