Numeric Distribution Chart
Alter the 5k Default Limit
- Javascript: Do a search in the enterprise script for
if(noLen && noLen < 5000){ - Angular: File of interest: data-table/charts/column-chart/column-chart.ts
then search for the
numArrMax: number = 5000declaration - React: File of interest: deebo-grid/src/components/charts/ColumnChart.jsx then
near the top, find the
const numArrMax = 5000declaration
Change the 5000 number to something higher at your own risk.
Change Number Bar Colors
- Javascript: Do a search in the enterprise script for
showNumColValDist: - Angular: File of interest: data-table/charts/num-value-distro-component/num-value-distro-component.ts
then search for the
showNumColValDist(function implementation - React: File of interest: deebo-grid/src/components/charts/NumValueDistro.jsx then
search for the
const showNumColValDistdeclaration
After locating the showNumColValDist in your respective tech's code, find the themeColor1
reference. That's the first theme color you set up (if any) in the buildInitUiDataTable function. The color
of all the bars will be set to this color or a default color if you didn't pass in a theme color. The class being
given to these bars is .num-col-val-dist-bar find that in your CSS and see it's opacity
set to 0.1. This creates a heat map effect as the visual appears darker the more frequently the value appears in the data.