Skip to content
cityxdev edited this page Sep 29, 2019 · 4 revisions

Example:

example gif

(in mobile devices, hovering falls back to tapping)

Usage:

letbp=neworg.cityxdev.boxplot.BoxPlot({values:{//mandatorydata:[...],//optionalmin: ___MIN___,//optional if data is not defined. ignored otherwisep25: ___PERCENTILE_25___,//Q1 - mandatory if data is not defined. ignored otherwisep50: ___PERCENTILE_50___,//median - mandatory if data is not defined. ignored otherwisep75: ___PERCENTILE_75___,//Q3 - mandatory if data is not defined. ignored otherwisemax: ___MAX___,//optional if data is not defined. ignored otherwisedecimalPlaces:___DECIMAL_PLACES_FOR_LEGEND___//optional. default=2},$target:$('___SELECTOR___'),//mandatory jQuery elementstyle:{//optionalheight: '15px',//csswidth: '100%',//cssborderColor: '#4E74AB',//cssborderWidthPx:2,medColor: '#FFC767',//cssmedWidthPx: 2,boxBorderColor: '#7E9AC4',//cssboxWidthPx: 2,boxBackgroundColor: 'white',//csslegendLabelColor:'#7E9AC4',//csslegendValueColor:'#495057',//csslegendBackgroundColor:'white',//csslegendBorderColor:'#7E9AC4',//csslegendBorderWidthPx:2},translation:{//for legend - optionalmin:'min',q1:'Q1',med:'med',q3:'Q3',max:'max',iqr:'IIQ'}});

Clone this wiki locally