Nuclos chart configuration: sort, sortByBoAttrId, crosshair, bar, Y axis, tooltip, JSON.

globe with meridians Language: Deutsch · English

open book Configuration

Fine-tune charts – sorting, crosshair, combined charts and tooltips.

On this page

Advanced options for the chart configuration (JSON). For the basics see Charts.

Sorting

By default sorting is by categoryBoAttrId; alternatively:

"chart": {
	"primaryChart": {
      "sort": {
        "sortByBoAttrId": "nuclet_test_charts_FinancialFigures_gewinn",
        "sortDirection": "asc"
      }
      ...
	}
}

Crosshair (4 quadrants)

Define two attributes in the data source (only the first record is used as coordinate) and configure them in the chart:

"chart": {
	"primaryChart": {
		"crosshair": {
			"categoryBoAttrId": "example_rest_CategorySalesCustomerCRT_crosshaircategory",
			"seriesBoAttrId": "example_rest_CategorySalesCustomerCRT_crosshairseries",
			"color": "green"
		}
	},
}

Combined line/bar chart

The data series to be shown as bars gets the "bar" flag. With identical scaling, the Y axis can be synchronized.

Tooltip

The tooltip information can be extended by an additional attribute per series.

Related pages

gear Charts


Basics.

Öffnen →