@luzmo/dashboard-contents-types 0.1.87-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/package.json +11 -0
- package/src/index.d.ts +94 -0
- package/src/index.d.ts.map +1 -0
- package/src/index.js +26 -0
- package/src/index.js.map +1 -0
- package/src/lib/area-chart/area-chart-options.d.ts +312 -0
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -0
- package/src/lib/area-chart/area-chart-options.js +2 -0
- package/src/lib/area-chart/area-chart-options.js.map +1 -0
- package/src/lib/area-chart/area-chart-slots.d.ts +38 -0
- package/src/lib/area-chart/area-chart-slots.d.ts.map +1 -0
- package/src/lib/area-chart/area-chart-slots.js +2 -0
- package/src/lib/area-chart/area-chart-slots.js.map +1 -0
- package/src/lib/area-chart/area-chart.d.ts +24 -0
- package/src/lib/area-chart/area-chart.d.ts.map +1 -0
- package/src/lib/area-chart/area-chart.js +2 -0
- package/src/lib/area-chart/area-chart.js.map +1 -0
- package/src/lib/area-chart/index.d.ts +4 -0
- package/src/lib/area-chart/index.d.ts.map +1 -0
- package/src/lib/area-chart/index.js +4 -0
- package/src/lib/area-chart/index.js.map +1 -0
- package/src/lib/bar-chart/bar-chart-options.d.ts +245 -0
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -0
- package/src/lib/bar-chart/bar-chart-options.js +2 -0
- package/src/lib/bar-chart/bar-chart-options.js.map +1 -0
- package/src/lib/bar-chart/bar-chart.d.ts +24 -0
- package/src/lib/bar-chart/bar-chart.d.ts.map +1 -0
- package/src/lib/bar-chart/bar-chart.js +2 -0
- package/src/lib/bar-chart/bar-chart.js.map +1 -0
- package/src/lib/bar-chart/bar-chart.slots.d.ts +38 -0
- package/src/lib/bar-chart/bar-chart.slots.d.ts.map +1 -0
- package/src/lib/bar-chart/bar-chart.slots.js +2 -0
- package/src/lib/bar-chart/bar-chart.slots.js.map +1 -0
- package/src/lib/bar-chart/index.d.ts +4 -0
- package/src/lib/bar-chart/index.d.ts.map +1 -0
- package/src/lib/bar-chart/index.js +4 -0
- package/src/lib/bar-chart/index.js.map +1 -0
- package/src/lib/box-plot/box-plot-options.d.ts +287 -0
- package/src/lib/box-plot/box-plot-options.d.ts.map +1 -0
- package/src/lib/box-plot/box-plot-options.js +2 -0
- package/src/lib/box-plot/box-plot-options.js.map +1 -0
- package/src/lib/box-plot/box-plot-slots.d.ts +28 -0
- package/src/lib/box-plot/box-plot-slots.d.ts.map +1 -0
- package/src/lib/box-plot/box-plot-slots.js +2 -0
- package/src/lib/box-plot/box-plot-slots.js.map +1 -0
- package/src/lib/box-plot/box-plot.d.ts +24 -0
- package/src/lib/box-plot/box-plot.d.ts.map +1 -0
- package/src/lib/box-plot/box-plot.js +2 -0
- package/src/lib/box-plot/box-plot.js.map +1 -0
- package/src/lib/box-plot/index.d.ts +4 -0
- package/src/lib/box-plot/index.d.ts.map +1 -0
- package/src/lib/box-plot/index.js +4 -0
- package/src/lib/box-plot/index.js.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +84 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-options.js +2 -0
- package/src/lib/bubble-chart/bubble-chart-options.js.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-slots.d.ts +38 -0
- package/src/lib/bubble-chart/bubble-chart-slots.d.ts.map +1 -0
- package/src/lib/bubble-chart/bubble-chart-slots.js +2 -0
- package/src/lib/bubble-chart/bubble-chart-slots.js.map +1 -0
- package/src/lib/bubble-chart/bubble-chart.d.ts +24 -0
- package/src/lib/bubble-chart/bubble-chart.d.ts.map +1 -0
- package/src/lib/bubble-chart/bubble-chart.js +2 -0
- package/src/lib/bubble-chart/bubble-chart.js.map +1 -0
- package/src/lib/bubble-chart/index.d.ts +4 -0
- package/src/lib/bubble-chart/index.d.ts.map +1 -0
- package/src/lib/bubble-chart/index.js +4 -0
- package/src/lib/bubble-chart/index.js.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-options.d.ts +97 -0
- package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-options.js +2 -0
- package/src/lib/bullet-chart/bullet-chart-options.js.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-slots.d.ts +38 -0
- package/src/lib/bullet-chart/bullet-chart-slots.d.ts.map +1 -0
- package/src/lib/bullet-chart/bullet-chart-slots.js +2 -0
- package/src/lib/bullet-chart/bullet-chart-slots.js.map +1 -0
- package/src/lib/bullet-chart/bullet-chart.d.ts +24 -0
- package/src/lib/bullet-chart/bullet-chart.d.ts.map +1 -0
- package/src/lib/bullet-chart/bullet-chart.js +2 -0
- package/src/lib/bullet-chart/bullet-chart.js.map +1 -0
- package/src/lib/bullet-chart/index.d.ts +4 -0
- package/src/lib/bullet-chart/index.d.ts.map +1 -0
- package/src/lib/bullet-chart/index.js +4 -0
- package/src/lib/bullet-chart/index.js.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +116 -0
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-options.js +2 -0
- package/src/lib/choropleth-map/choropleth-map-options.js.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-slots.d.ts +38 -0
- package/src/lib/choropleth-map/choropleth-map-slots.d.ts.map +1 -0
- package/src/lib/choropleth-map/choropleth-map-slots.js +2 -0
- package/src/lib/choropleth-map/choropleth-map-slots.js.map +1 -0
- package/src/lib/choropleth-map/choropleth-map.d.ts +24 -0
- package/src/lib/choropleth-map/choropleth-map.d.ts.map +1 -0
- package/src/lib/choropleth-map/choropleth-map.js +2 -0
- package/src/lib/choropleth-map/choropleth-map.js.map +1 -0
- package/src/lib/choropleth-map/index.d.ts +4 -0
- package/src/lib/choropleth-map/index.d.ts.map +1 -0
- package/src/lib/choropleth-map/index.js +4 -0
- package/src/lib/choropleth-map/index.js.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-options.d.ts +101 -0
- package/src/lib/circular-gauge/circular-gauge-options.d.ts.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-options.js +2 -0
- package/src/lib/circular-gauge/circular-gauge-options.js.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-slots.d.ts +28 -0
- package/src/lib/circular-gauge/circular-gauge-slots.d.ts.map +1 -0
- package/src/lib/circular-gauge/circular-gauge-slots.js +2 -0
- package/src/lib/circular-gauge/circular-gauge-slots.js.map +1 -0
- package/src/lib/circular-gauge/circular-gauge.d.ts +24 -0
- package/src/lib/circular-gauge/circular-gauge.d.ts.map +1 -0
- package/src/lib/circular-gauge/circular-gauge.js +2 -0
- package/src/lib/circular-gauge/circular-gauge.js.map +1 -0
- package/src/lib/circular-gauge/index.d.ts +4 -0
- package/src/lib/circular-gauge/index.d.ts.map +1 -0
- package/src/lib/circular-gauge/index.js +4 -0
- package/src/lib/circular-gauge/index.js.map +1 -0
- package/src/lib/column-chart/column-chart-options.d.ts +246 -0
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -0
- package/src/lib/column-chart/column-chart-options.js +7 -0
- package/src/lib/column-chart/column-chart-options.js.map +1 -0
- package/src/lib/column-chart/column-chart-slots.d.ts +38 -0
- package/src/lib/column-chart/column-chart-slots.d.ts.map +1 -0
- package/src/lib/column-chart/column-chart-slots.js +2 -0
- package/src/lib/column-chart/column-chart-slots.js.map +1 -0
- package/src/lib/column-chart/column-chart.d.ts +24 -0
- package/src/lib/column-chart/column-chart.d.ts.map +1 -0
- package/src/lib/column-chart/column-chart.js +2 -0
- package/src/lib/column-chart/column-chart.js.map +1 -0
- package/src/lib/column-chart/index.d.ts +4 -0
- package/src/lib/column-chart/index.d.ts.map +1 -0
- package/src/lib/column-chart/index.js +4 -0
- package/src/lib/column-chart/index.js.map +1 -0
- package/src/lib/combination-chart/combination-chart-options.d.ts +326 -0
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -0
- package/src/lib/combination-chart/combination-chart-options.js +2 -0
- package/src/lib/combination-chart/combination-chart-options.js.map +1 -0
- package/src/lib/combination-chart/combination-chart-slots.d.ts +28 -0
- package/src/lib/combination-chart/combination-chart-slots.d.ts.map +1 -0
- package/src/lib/combination-chart/combination-chart-slots.js +2 -0
- package/src/lib/combination-chart/combination-chart-slots.js.map +1 -0
- package/src/lib/combination-chart/combination-chart.d.ts +24 -0
- package/src/lib/combination-chart/combination-chart.d.ts.map +1 -0
- package/src/lib/combination-chart/combination-chart.js +2 -0
- package/src/lib/combination-chart/combination-chart.js.map +1 -0
- package/src/lib/combination-chart/index.d.ts +4 -0
- package/src/lib/combination-chart/index.d.ts.map +1 -0
- package/src/lib/combination-chart/index.js +4 -0
- package/src/lib/combination-chart/index.js.map +1 -0
- package/src/lib/conditional-number/conditional-number-options.d.ts +79 -0
- package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -0
- package/src/lib/conditional-number/conditional-number-options.js +2 -0
- package/src/lib/conditional-number/conditional-number-options.js.map +1 -0
- package/src/lib/conditional-number/conditional-number-slots.d.ts +28 -0
- package/src/lib/conditional-number/conditional-number-slots.d.ts.map +1 -0
- package/src/lib/conditional-number/conditional-number-slots.js +2 -0
- package/src/lib/conditional-number/conditional-number-slots.js.map +1 -0
- package/src/lib/conditional-number/conditional-number.d.ts +24 -0
- package/src/lib/conditional-number/conditional-number.d.ts.map +1 -0
- package/src/lib/conditional-number/conditional-number.js +2 -0
- package/src/lib/conditional-number/conditional-number.js.map +1 -0
- package/src/lib/conditional-number/index.d.ts +4 -0
- package/src/lib/conditional-number/index.d.ts.map +1 -0
- package/src/lib/conditional-number/index.js +4 -0
- package/src/lib/conditional-number/index.js.map +1 -0
- package/src/lib/date-filter/date-filter-options.d.ts +64 -0
- package/src/lib/date-filter/date-filter-options.d.ts.map +1 -0
- package/src/lib/date-filter/date-filter-options.js +2 -0
- package/src/lib/date-filter/date-filter-options.js.map +1 -0
- package/src/lib/date-filter/date-filter-slots.d.ts +18 -0
- package/src/lib/date-filter/date-filter-slots.d.ts.map +1 -0
- package/src/lib/date-filter/date-filter-slots.js +2 -0
- package/src/lib/date-filter/date-filter-slots.js.map +1 -0
- package/src/lib/date-filter/date-filter.d.ts +24 -0
- package/src/lib/date-filter/date-filter.d.ts.map +1 -0
- package/src/lib/date-filter/date-filter.js +2 -0
- package/src/lib/date-filter/date-filter.js.map +1 -0
- package/src/lib/date-filter/index.d.ts +4 -0
- package/src/lib/date-filter/index.d.ts.map +1 -0
- package/src/lib/date-filter/index.js +4 -0
- package/src/lib/date-filter/index.js.map +1 -0
- package/src/lib/donut-chart/donut-chart-options.d.ts +118 -0
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -0
- package/src/lib/donut-chart/donut-chart-options.js +2 -0
- package/src/lib/donut-chart/donut-chart-options.js.map +1 -0
- package/src/lib/donut-chart/donut-chart-slots.d.ts +28 -0
- package/src/lib/donut-chart/donut-chart-slots.d.ts.map +1 -0
- package/src/lib/donut-chart/donut-chart-slots.js +2 -0
- package/src/lib/donut-chart/donut-chart-slots.js.map +1 -0
- package/src/lib/donut-chart/donut-chart.d.ts +24 -0
- package/src/lib/donut-chart/donut-chart.d.ts.map +1 -0
- package/src/lib/donut-chart/donut-chart.js +2 -0
- package/src/lib/donut-chart/donut-chart.js.map +1 -0
- package/src/lib/donut-chart/index.d.ts +4 -0
- package/src/lib/donut-chart/index.d.ts.map +1 -0
- package/src/lib/donut-chart/index.js +4 -0
- package/src/lib/donut-chart/index.js.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +74 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.js +2 -0
- package/src/lib/dropdown-filter/dropdown-filter-options.js.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +18 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.d.ts.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.js +2 -0
- package/src/lib/dropdown-filter/dropdown-filter-slots.js.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter.d.ts +24 -0
- package/src/lib/dropdown-filter/dropdown-filter.d.ts.map +1 -0
- package/src/lib/dropdown-filter/dropdown-filter.js +2 -0
- package/src/lib/dropdown-filter/dropdown-filter.js.map +1 -0
- package/src/lib/dropdown-filter/index.d.ts +4 -0
- package/src/lib/dropdown-filter/index.d.ts.map +1 -0
- package/src/lib/dropdown-filter/index.js +4 -0
- package/src/lib/dropdown-filter/index.js.map +1 -0
- package/src/lib/evolution-number/evolution-number-options.d.ts +188 -0
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -0
- package/src/lib/evolution-number/evolution-number-options.js +2 -0
- package/src/lib/evolution-number/evolution-number-options.js.map +1 -0
- package/src/lib/evolution-number/evolution-number-slots.d.ts +28 -0
- package/src/lib/evolution-number/evolution-number-slots.d.ts.map +1 -0
- package/src/lib/evolution-number/evolution-number-slots.js +2 -0
- package/src/lib/evolution-number/evolution-number-slots.js.map +1 -0
- package/src/lib/evolution-number/evolution-number.d.ts +24 -0
- package/src/lib/evolution-number/evolution-number.d.ts.map +1 -0
- package/src/lib/evolution-number/evolution-number.js +2 -0
- package/src/lib/evolution-number/evolution-number.js.map +1 -0
- package/src/lib/evolution-number/index.d.ts +4 -0
- package/src/lib/evolution-number/index.d.ts.map +1 -0
- package/src/lib/evolution-number/index.js +4 -0
- package/src/lib/evolution-number/index.js.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +107 -0
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-options.js +2 -0
- package/src/lib/funnel-chart/funnel-chart-options.js.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-slots.d.ts +28 -0
- package/src/lib/funnel-chart/funnel-chart-slots.d.ts.map +1 -0
- package/src/lib/funnel-chart/funnel-chart-slots.js +2 -0
- package/src/lib/funnel-chart/funnel-chart-slots.js.map +1 -0
- package/src/lib/funnel-chart/funnel-chart.d.ts +24 -0
- package/src/lib/funnel-chart/funnel-chart.d.ts.map +1 -0
- package/src/lib/funnel-chart/funnel-chart.js +2 -0
- package/src/lib/funnel-chart/funnel-chart.js.map +1 -0
- package/src/lib/funnel-chart/index.d.ts +4 -0
- package/src/lib/funnel-chart/index.d.ts.map +1 -0
- package/src/lib/funnel-chart/index.js +4 -0
- package/src/lib/funnel-chart/index.js.map +1 -0
- package/src/lib/image/image-options.d.ts +64 -0
- package/src/lib/image/image-options.d.ts.map +1 -0
- package/src/lib/image/image-options.js +2 -0
- package/src/lib/image/image-options.js.map +1 -0
- package/src/lib/image/image.d.ts +17 -0
- package/src/lib/image/image.d.ts.map +1 -0
- package/src/lib/image/image.js +2 -0
- package/src/lib/image/image.js.map +1 -0
- package/src/lib/image/index.d.ts +3 -0
- package/src/lib/image/index.d.ts.map +1 -0
- package/src/lib/image/index.js +3 -0
- package/src/lib/image/index.js.map +1 -0
- package/src/lib/line-chart/index.d.ts +4 -0
- package/src/lib/line-chart/index.d.ts.map +1 -0
- package/src/lib/line-chart/index.js +4 -0
- package/src/lib/line-chart/index.js.map +1 -0
- package/src/lib/line-chart/line-chart-options.d.ts +347 -0
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -0
- package/src/lib/line-chart/line-chart-options.js +2 -0
- package/src/lib/line-chart/line-chart-options.js.map +1 -0
- package/src/lib/line-chart/line-chart-slots.d.ts +38 -0
- package/src/lib/line-chart/line-chart-slots.d.ts.map +1 -0
- package/src/lib/line-chart/line-chart-slots.js +2 -0
- package/src/lib/line-chart/line-chart-slots.js.map +1 -0
- package/src/lib/line-chart/line-chart.d.ts +24 -0
- package/src/lib/line-chart/line-chart.d.ts.map +1 -0
- package/src/lib/line-chart/line-chart.js +2 -0
- package/src/lib/line-chart/line-chart.js.map +1 -0
- package/src/lib/pivot-table/index.d.ts +4 -0
- package/src/lib/pivot-table/index.d.ts.map +1 -0
- package/src/lib/pivot-table/index.js +4 -0
- package/src/lib/pivot-table/index.js.map +1 -0
- package/src/lib/pivot-table/pivot-table-options.d.ts +172 -0
- package/src/lib/pivot-table/pivot-table-options.d.ts.map +1 -0
- package/src/lib/pivot-table/pivot-table-options.js +2 -0
- package/src/lib/pivot-table/pivot-table-options.js.map +1 -0
- package/src/lib/pivot-table/pivot-table-slots.d.ts +38 -0
- package/src/lib/pivot-table/pivot-table-slots.d.ts.map +1 -0
- package/src/lib/pivot-table/pivot-table-slots.js +2 -0
- package/src/lib/pivot-table/pivot-table-slots.js.map +1 -0
- package/src/lib/pivot-table/pivot-table.d.ts +24 -0
- package/src/lib/pivot-table/pivot-table.d.ts.map +1 -0
- package/src/lib/pivot-table/pivot-table.js +2 -0
- package/src/lib/pivot-table/pivot-table.js.map +1 -0
- package/src/lib/regular-table/index.d.ts +4 -0
- package/src/lib/regular-table/index.d.ts.map +1 -0
- package/src/lib/regular-table/index.js +4 -0
- package/src/lib/regular-table/index.js.map +1 -0
- package/src/lib/regular-table/regular-table-options.d.ts +114 -0
- package/src/lib/regular-table/regular-table-options.d.ts.map +1 -0
- package/src/lib/regular-table/regular-table-options.js +6 -0
- package/src/lib/regular-table/regular-table-options.js.map +1 -0
- package/src/lib/regular-table/regular-table-slots.d.ts +18 -0
- package/src/lib/regular-table/regular-table-slots.d.ts.map +1 -0
- package/src/lib/regular-table/regular-table-slots.js +2 -0
- package/src/lib/regular-table/regular-table-slots.js.map +1 -0
- package/src/lib/regular-table/regular-table.d.ts +24 -0
- package/src/lib/regular-table/regular-table.d.ts.map +1 -0
- package/src/lib/regular-table/regular-table.js +2 -0
- package/src/lib/regular-table/regular-table.js.map +1 -0
- package/src/lib/sankey-diagram/index.d.ts +4 -0
- package/src/lib/sankey-diagram/index.d.ts.map +1 -0
- package/src/lib/sankey-diagram/index.js +4 -0
- package/src/lib/sankey-diagram/index.js.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts +118 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.d.ts.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.js +2 -0
- package/src/lib/sankey-diagram/sankey-diagram-options.js.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +48 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.d.ts.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.js +2 -0
- package/src/lib/sankey-diagram/sankey-diagram-slots.js.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram.d.ts +24 -0
- package/src/lib/sankey-diagram/sankey-diagram.d.ts.map +1 -0
- package/src/lib/sankey-diagram/sankey-diagram.js +2 -0
- package/src/lib/sankey-diagram/sankey-diagram.js.map +1 -0
- package/src/lib/scatter-plot/index.d.ts +4 -0
- package/src/lib/scatter-plot/index.d.ts.map +1 -0
- package/src/lib/scatter-plot/index.js +4 -0
- package/src/lib/scatter-plot/index.js.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +207 -0
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-options.js +2 -0
- package/src/lib/scatter-plot/scatter-plot-options.js.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-slots.d.ts +58 -0
- package/src/lib/scatter-plot/scatter-plot-slots.d.ts.map +1 -0
- package/src/lib/scatter-plot/scatter-plot-slots.js +2 -0
- package/src/lib/scatter-plot/scatter-plot-slots.js.map +1 -0
- package/src/lib/scatter-plot/scatter-plot.d.ts +24 -0
- package/src/lib/scatter-plot/scatter-plot.d.ts.map +1 -0
- package/src/lib/scatter-plot/scatter-plot.js +2 -0
- package/src/lib/scatter-plot/scatter-plot.js.map +1 -0
- package/src/lib/shared/axes.d.ts +36 -0
- package/src/lib/shared/axes.d.ts.map +1 -0
- package/src/lib/shared/axes.js +2 -0
- package/src/lib/shared/axes.js.map +1 -0
- package/src/lib/shared/axis-view-options.d.ts +4 -0
- package/src/lib/shared/axis-view-options.d.ts.map +1 -0
- package/src/lib/shared/axis-view-options.js +2 -0
- package/src/lib/shared/axis-view-options.js.map +1 -0
- package/src/lib/shared/common.d.ts +103 -0
- package/src/lib/shared/common.d.ts.map +1 -0
- package/src/lib/shared/common.js +2 -0
- package/src/lib/shared/common.js.map +1 -0
- package/src/lib/shared/drop-object-view-options.d.ts +19 -0
- package/src/lib/shared/drop-object-view-options.d.ts.map +1 -0
- package/src/lib/shared/drop-object-view-options.js +2 -0
- package/src/lib/shared/drop-object-view-options.js.map +1 -0
- package/src/lib/shared/filters.d.ts +31 -0
- package/src/lib/shared/filters.d.ts.map +1 -0
- package/src/lib/shared/filters.js +2 -0
- package/src/lib/shared/filters.js.map +1 -0
- package/src/lib/shared/formula.d.ts +29 -0
- package/src/lib/shared/formula.d.ts.map +1 -0
- package/src/lib/shared/formula.js +2 -0
- package/src/lib/shared/formula.js.map +1 -0
- package/src/lib/shared/info-tooltip-options.d.ts +25 -0
- package/src/lib/shared/info-tooltip-options.d.ts.map +1 -0
- package/src/lib/shared/info-tooltip-options.js +2 -0
- package/src/lib/shared/info-tooltip-options.js.map +1 -0
- package/src/lib/shared/interactivity-custom-events.d.ts +59 -0
- package/src/lib/shared/interactivity-custom-events.d.ts.map +1 -0
- package/src/lib/shared/interactivity-custom-events.js +2 -0
- package/src/lib/shared/interactivity-custom-events.js.map +1 -0
- package/src/lib/shared/interactivity-custom-tooltip.d.ts +11 -0
- package/src/lib/shared/interactivity-custom-tooltip.d.ts.map +1 -0
- package/src/lib/shared/interactivity-custom-tooltip.js +2 -0
- package/src/lib/shared/interactivity-custom-tooltip.js.map +1 -0
- package/src/lib/shared/interactivity-drilldown.d.ts +79 -0
- package/src/lib/shared/interactivity-drilldown.d.ts.map +1 -0
- package/src/lib/shared/interactivity-drilldown.js +2 -0
- package/src/lib/shared/interactivity-drilldown.js.map +1 -0
- package/src/lib/shared/interactivity-export.d.ts +22 -0
- package/src/lib/shared/interactivity-export.d.ts.map +1 -0
- package/src/lib/shared/interactivity-export.js +2 -0
- package/src/lib/shared/interactivity-export.js.map +1 -0
- package/src/lib/shared/interactivity-go-to-url.d.ts +23 -0
- package/src/lib/shared/interactivity-go-to-url.d.ts.map +1 -0
- package/src/lib/shared/interactivity-go-to-url.js +2 -0
- package/src/lib/shared/interactivity-go-to-url.js.map +1 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts +67 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts.map +1 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.js +2 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.js.map +1 -0
- package/src/lib/shared/interactivity-target.d.ts +2 -0
- package/src/lib/shared/interactivity-target.d.ts.map +1 -0
- package/src/lib/shared/interactivity-target.js +2 -0
- package/src/lib/shared/interactivity-target.js.map +1 -0
- package/src/lib/shared/interpolation.d.ts +5 -0
- package/src/lib/shared/interpolation.d.ts.map +1 -0
- package/src/lib/shared/interpolation.js +2 -0
- package/src/lib/shared/interpolation.js.map +1 -0
- package/src/lib/shared/legend.d.ts +32 -0
- package/src/lib/shared/legend.d.ts.map +1 -0
- package/src/lib/shared/legend.js +2 -0
- package/src/lib/shared/legend.js.map +1 -0
- package/src/lib/shared/map-object-view-options.d.ts +42 -0
- package/src/lib/shared/map-object-view-options.d.ts.map +1 -0
- package/src/lib/shared/map-object-view-options.js +2 -0
- package/src/lib/shared/map-object-view-options.js.map +1 -0
- package/src/lib/shared/object-view-options.d.ts +19 -0
- package/src/lib/shared/object-view-options.d.ts.map +1 -0
- package/src/lib/shared/object-view-options.js +2 -0
- package/src/lib/shared/object-view-options.js.map +1 -0
- package/src/lib/shared/placeholder.d.ts +8 -0
- package/src/lib/shared/placeholder.d.ts.map +1 -0
- package/src/lib/shared/placeholder.js +2 -0
- package/src/lib/shared/placeholder.js.map +1 -0
- package/src/lib/shared/query.d.ts +22 -0
- package/src/lib/shared/query.d.ts.map +1 -0
- package/src/lib/shared/query.js +2 -0
- package/src/lib/shared/query.js.map +1 -0
- package/src/lib/shared/ranges.d.ts +18 -0
- package/src/lib/shared/ranges.d.ts.map +1 -0
- package/src/lib/shared/ranges.js +2 -0
- package/src/lib/shared/ranges.js.map +1 -0
- package/src/lib/shared/slots.d.ts +227 -0
- package/src/lib/shared/slots.d.ts.map +1 -0
- package/src/lib/shared/slots.js +2 -0
- package/src/lib/shared/slots.js.map +1 -0
- package/src/lib/shared/sort.d.ts +65 -0
- package/src/lib/shared/sort.d.ts.map +1 -0
- package/src/lib/shared/sort.js +2 -0
- package/src/lib/shared/sort.js.map +1 -0
- package/src/lib/shared/theme.d.ts +266 -0
- package/src/lib/shared/theme.d.ts.map +1 -0
- package/src/lib/shared/theme.js +2 -0
- package/src/lib/shared/theme.js.map +1 -0
- package/src/lib/shared/title.d.ts +19 -0
- package/src/lib/shared/title.d.ts.map +1 -0
- package/src/lib/shared/title.js +2 -0
- package/src/lib/shared/title.js.map +1 -0
- package/src/lib/slicer-filter/index.d.ts +4 -0
- package/src/lib/slicer-filter/index.d.ts.map +1 -0
- package/src/lib/slicer-filter/index.js +4 -0
- package/src/lib/slicer-filter/index.js.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-options.d.ts +203 -0
- package/src/lib/slicer-filter/slicer-filter-options.d.ts.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-options.js +2 -0
- package/src/lib/slicer-filter/slicer-filter-options.js.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-slots.d.ts +28 -0
- package/src/lib/slicer-filter/slicer-filter-slots.d.ts.map +1 -0
- package/src/lib/slicer-filter/slicer-filter-slots.js +2 -0
- package/src/lib/slicer-filter/slicer-filter-slots.js.map +1 -0
- package/src/lib/slicer-filter/slicer-filter.d.ts +24 -0
- package/src/lib/slicer-filter/slicer-filter.d.ts.map +1 -0
- package/src/lib/slicer-filter/slicer-filter.js +2 -0
- package/src/lib/slicer-filter/slicer-filter.js.map +1 -0
- package/src/lib/slider-filter/index.d.ts +4 -0
- package/src/lib/slider-filter/index.d.ts.map +1 -0
- package/src/lib/slider-filter/index.js +4 -0
- package/src/lib/slider-filter/index.js.map +1 -0
- package/src/lib/slider-filter/slider-filter-options.d.ts +14 -0
- package/src/lib/slider-filter/slider-filter-options.d.ts.map +1 -0
- package/src/lib/slider-filter/slider-filter-options.js +2 -0
- package/src/lib/slider-filter/slider-filter-options.js.map +1 -0
- package/src/lib/slider-filter/slider-filter-slots.d.ts +18 -0
- package/src/lib/slider-filter/slider-filter-slots.d.ts.map +1 -0
- package/src/lib/slider-filter/slider-filter-slots.js +2 -0
- package/src/lib/slider-filter/slider-filter-slots.js.map +1 -0
- package/src/lib/slider-filter/slider-filter.d.ts +24 -0
- package/src/lib/slider-filter/slider-filter.d.ts.map +1 -0
- package/src/lib/slider-filter/slider-filter.js +2 -0
- package/src/lib/slider-filter/slider-filter.js.map +1 -0
- package/src/lib/text/index.d.ts +3 -0
- package/src/lib/text/index.d.ts.map +1 -0
- package/src/lib/text/index.js +3 -0
- package/src/lib/text/index.js.map +1 -0
- package/src/lib/text/text-options.d.ts +54 -0
- package/src/lib/text/text-options.d.ts.map +1 -0
- package/src/lib/text/text-options.js +2 -0
- package/src/lib/text/text-options.js.map +1 -0
- package/src/lib/text/text.d.ts +17 -0
- package/src/lib/text/text.d.ts.map +1 -0
- package/src/lib/text/text.js +2 -0
- package/src/lib/text/text.js.map +1 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { AxisGridlinesStyle, AxisScaleType, AxisTicksDensity, ManualAxesRange, XAxisLabelPosition, YAxisLabelPosition } from '../shared/axes';
|
|
2
|
+
import { AxisObjectViewOptions } from '../shared/axis-view-options';
|
|
3
|
+
import { AxisTicksMode, Guidelines, LimitViewOptions, RankingViewOptions } from '../shared/common';
|
|
4
|
+
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
5
|
+
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
6
|
+
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
7
|
+
import { InteractivityDrilldownViewOptions } from '../shared/interactivity-drilldown';
|
|
8
|
+
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
9
|
+
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
10
|
+
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
11
|
+
import { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
|
|
12
|
+
import { SortViewOptions } from '../shared/sort';
|
|
13
|
+
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
14
|
+
export interface BarChartViewOptions extends Omit<AxisObjectViewOptions, 'display' | 'interactivity'>, TitleViewOptions, LegendViewOptions, InfoTooltipViewOptions, RankingViewOptions, LimitViewOptions, SortViewOptions, BarChartDisplayViewOptions, BarChartInteractivityViewOptions {
|
|
15
|
+
/**
|
|
16
|
+
* Mode of the Bar chart: grouped, stacked or 100% stacked
|
|
17
|
+
*/
|
|
18
|
+
mode?: BarChartMode;
|
|
19
|
+
/**
|
|
20
|
+
* If it's set fine tunes the 'mode' option. When it's 'bar-stack' the 'mode' will become 'stacked' otherwise 'grouped'.
|
|
21
|
+
*/
|
|
22
|
+
startWithSubType?: BarChartSubtype;
|
|
23
|
+
/**
|
|
24
|
+
* Category options
|
|
25
|
+
*/
|
|
26
|
+
categories?: {
|
|
27
|
+
/**
|
|
28
|
+
* Bar color by category. Only has effect if there is no legend, but there is a y-axis.
|
|
29
|
+
* @default false
|
|
30
|
+
*/
|
|
31
|
+
colored?: boolean;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Chart grid options
|
|
35
|
+
*/
|
|
36
|
+
grid?: {
|
|
37
|
+
/**
|
|
38
|
+
* X-axis grid options
|
|
39
|
+
*/
|
|
40
|
+
x?: {
|
|
41
|
+
/**
|
|
42
|
+
* Show or hide the X-axis grid
|
|
43
|
+
* @default false
|
|
44
|
+
*/
|
|
45
|
+
enabled: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Style of the X-axis grid
|
|
48
|
+
*/
|
|
49
|
+
style?: AxisGridlinesStyle;
|
|
50
|
+
/**
|
|
51
|
+
* Opacity of the X-axis grid
|
|
52
|
+
* @examples [1, 0.5, 0.1]
|
|
53
|
+
*/
|
|
54
|
+
opacity?: number;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Y-axis grid options
|
|
58
|
+
*/
|
|
59
|
+
y?: {
|
|
60
|
+
/**
|
|
61
|
+
* Show or hide the Y-axis grid
|
|
62
|
+
* @default false
|
|
63
|
+
*/
|
|
64
|
+
enabled: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Style of the Y-axis grid
|
|
67
|
+
*/
|
|
68
|
+
style?: AxisGridlinesStyle;
|
|
69
|
+
/**
|
|
70
|
+
* Opacity of the Y-axis grid
|
|
71
|
+
* @examples [1, 0.5, 0.1]
|
|
72
|
+
*/
|
|
73
|
+
opacity?: number;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Axes labels options
|
|
78
|
+
*/
|
|
79
|
+
axislabels?: {
|
|
80
|
+
/**
|
|
81
|
+
* X-axis label options
|
|
82
|
+
*/
|
|
83
|
+
x?: {
|
|
84
|
+
/**
|
|
85
|
+
* Show or hide the X-axis labels
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
enabled: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Position of the X-axis labels
|
|
91
|
+
* @default "center"
|
|
92
|
+
*/
|
|
93
|
+
position: XAxisLabelPosition;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* Y-axis label options
|
|
97
|
+
*/
|
|
98
|
+
y?: {
|
|
99
|
+
/**
|
|
100
|
+
* Show or hide the Y-axis labels
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
enabled: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Position of the Y-axis labels
|
|
106
|
+
* @default "middle"
|
|
107
|
+
*/
|
|
108
|
+
position: YAxisLabelPosition;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Axes options
|
|
113
|
+
*/
|
|
114
|
+
axis?: {
|
|
115
|
+
/**
|
|
116
|
+
* X-axis options
|
|
117
|
+
*/
|
|
118
|
+
x?: {
|
|
119
|
+
/**
|
|
120
|
+
* X-axis color
|
|
121
|
+
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
122
|
+
*/
|
|
123
|
+
color?: string;
|
|
124
|
+
/**
|
|
125
|
+
* Ticks mode of the X-axis
|
|
126
|
+
*/
|
|
127
|
+
ticksMode?: AxisTicksMode;
|
|
128
|
+
/**
|
|
129
|
+
* X-axis scale type
|
|
130
|
+
*/
|
|
131
|
+
scale?: AxisScaleType;
|
|
132
|
+
/**
|
|
133
|
+
* Base of the logarithmic scale. Only applies if the scale is logarithmic.
|
|
134
|
+
* @examples [2, 10]
|
|
135
|
+
*/
|
|
136
|
+
scaleLogBase?: number;
|
|
137
|
+
/**
|
|
138
|
+
* Density of the ticks on the X-axis
|
|
139
|
+
*/
|
|
140
|
+
ticksDensity?: AxisTicksDensity;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Y-axis options
|
|
144
|
+
*/
|
|
145
|
+
y?: {
|
|
146
|
+
/**
|
|
147
|
+
* Y-axis color
|
|
148
|
+
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
149
|
+
*/
|
|
150
|
+
color?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Ticks mode of the Y-axis
|
|
153
|
+
*/
|
|
154
|
+
ticksMode?: AxisTicksMode;
|
|
155
|
+
};
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Bars options
|
|
159
|
+
*/
|
|
160
|
+
bars?: {
|
|
161
|
+
/**
|
|
162
|
+
* Bar label options
|
|
163
|
+
*/
|
|
164
|
+
label?: BarChartLabel;
|
|
165
|
+
/**
|
|
166
|
+
* Rounded corners of the bars
|
|
167
|
+
* @examples [0, 5, 10]
|
|
168
|
+
*/
|
|
169
|
+
roundedCorners?: number;
|
|
170
|
+
};
|
|
171
|
+
/**
|
|
172
|
+
* Manual axis range options. Minimum and maximum value of the axis range.
|
|
173
|
+
*/
|
|
174
|
+
manualAxesRange?: ManualAxesRange;
|
|
175
|
+
/**
|
|
176
|
+
* Guidelines options
|
|
177
|
+
*/
|
|
178
|
+
guidelines?: Guidelines;
|
|
179
|
+
}
|
|
180
|
+
interface BarChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLegendViewOptions {
|
|
181
|
+
/**
|
|
182
|
+
* General display options of the Bar chart: title, legend and mode option
|
|
183
|
+
*/
|
|
184
|
+
display?: {
|
|
185
|
+
/**
|
|
186
|
+
* Show or hide the title
|
|
187
|
+
* @default true
|
|
188
|
+
*/
|
|
189
|
+
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
190
|
+
/**
|
|
191
|
+
* Show or hide the legend
|
|
192
|
+
* @default true
|
|
193
|
+
*/
|
|
194
|
+
legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
|
|
195
|
+
/**
|
|
196
|
+
* Show or hide the mode option
|
|
197
|
+
* @default false
|
|
198
|
+
*/
|
|
199
|
+
modeOption?: boolean;
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
interface BarChartInteractivityViewOptions extends InteractivityCustomTooltipViewOptions, InteractivityGoToUrlViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions {
|
|
203
|
+
/**
|
|
204
|
+
* Interactivity options
|
|
205
|
+
*/
|
|
206
|
+
interactivity?: {
|
|
207
|
+
/**
|
|
208
|
+
* Available export types interactivity option
|
|
209
|
+
*/
|
|
210
|
+
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
211
|
+
/**
|
|
212
|
+
* Custom events interactivity option
|
|
213
|
+
*/
|
|
214
|
+
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
215
|
+
/**
|
|
216
|
+
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
217
|
+
*/
|
|
218
|
+
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
219
|
+
/**
|
|
220
|
+
* Drilldown interactivity option
|
|
221
|
+
*/
|
|
222
|
+
drilldown?: NonNullable<NonNullable<InteractivityDrilldownViewOptions['interactivity']>['drilldown']>;
|
|
223
|
+
/**
|
|
224
|
+
* Export types interactivity option
|
|
225
|
+
*/
|
|
226
|
+
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
227
|
+
/**
|
|
228
|
+
* Measure dimension picker interactivity option
|
|
229
|
+
*/
|
|
230
|
+
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
231
|
+
/**
|
|
232
|
+
* Filter on select interactivity option
|
|
233
|
+
*/
|
|
234
|
+
select?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Go to URL interactivity option
|
|
237
|
+
*/
|
|
238
|
+
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
239
|
+
};
|
|
240
|
+
}
|
|
241
|
+
export type BarChartMode = 'grouped' | 'stacked' | '100';
|
|
242
|
+
export type BarChartLabel = 'none' | 'percentage' | 'percentageMax' | 'percentageCategory' | 'percentageLegend';
|
|
243
|
+
export type BarChartSubtype = 'bar' | 'bar-stack' | 'bar-group';
|
|
244
|
+
export {};
|
|
245
|
+
//# sourceMappingURL=bar-chart-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar-chart-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar-chart-options.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.ts"],"names":[],"mappings":"","sourcesContent":["import {\n AxisGridlinesStyle,\n AxisScaleType,\n AxisTicksDensity,\n ManualAxesRange,\n XAxisLabelPosition,\n YAxisLabelPosition\n} from '../shared/axes';\nimport { AxisObjectViewOptions } from '../shared/axis-view-options';\nimport { AxisTicksMode, Guidelines, LimitViewOptions, RankingViewOptions } from '../shared/common';\nimport { InfoTooltipViewOptions } from '../shared/info-tooltip-options';\nimport { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';\nimport { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';\nimport { InteractivityDrilldownViewOptions } from '../shared/interactivity-drilldown';\nimport { InteractivityExportViewOptions } from '../shared/interactivity-export';\nimport { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';\nimport { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';\nimport { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';\nimport { SortViewOptions } from '../shared/sort';\nimport { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';\n\nexport interface BarChartViewOptions extends\n Omit<AxisObjectViewOptions, 'display' | 'interactivity'>,\n TitleViewOptions,\n LegendViewOptions,\n InfoTooltipViewOptions,\n RankingViewOptions,\n LimitViewOptions,\n SortViewOptions,\n BarChartDisplayViewOptions,\n BarChartInteractivityViewOptions {\n\n /**\n * Mode of the Bar chart: grouped, stacked or 100% stacked\n */\n mode?: BarChartMode;\n /**\n * If it's set fine tunes the 'mode' option. When it's 'bar-stack' the 'mode' will become 'stacked' otherwise 'grouped'.\n */\n startWithSubType?: BarChartSubtype;\n /**\n * Category options\n */\n categories?: {\n /**\n * Bar color by category. Only has effect if there is no legend, but there is a y-axis.\n * @default false\n */\n colored?: boolean;\n };\n /**\n * Chart grid options\n */\n grid?: {\n /**\n * X-axis grid options\n */\n x?: {\n /**\n * Show or hide the X-axis grid\n * @default false\n */\n enabled: boolean;\n /**\n * Style of the X-axis grid\n */\n style?: AxisGridlinesStyle;\n /**\n * Opacity of the X-axis grid\n * @examples [1, 0.5, 0.1]\n */\n opacity?: number;\n };\n /**\n * Y-axis grid options\n */\n y?: {\n /**\n * Show or hide the Y-axis grid\n * @default false\n */\n enabled: boolean;\n /**\n * Style of the Y-axis grid\n */\n style?: AxisGridlinesStyle;\n /**\n * Opacity of the Y-axis grid\n * @examples [1, 0.5, 0.1]\n */\n opacity?: number;\n };\n };\n /**\n * Axes labels options\n */\n axislabels?: {\n /**\n * X-axis label options\n */\n x?: {\n /**\n * Show or hide the X-axis labels\n * @default false\n */\n enabled: boolean;\n /**\n * Position of the X-axis labels\n * @default \"center\"\n */\n position: XAxisLabelPosition;\n };\n /**\n * Y-axis label options\n */\n y?: {\n /**\n * Show or hide the Y-axis labels\n * @default false\n */\n enabled: boolean;\n /**\n * Position of the Y-axis labels\n * @default \"middle\"\n */\n position: YAxisLabelPosition;\n };\n };\n /**\n * Axes options\n */\n axis?: {\n /**\n * X-axis options\n */\n x?: {\n /**\n * X-axis color\n * @examples [\"#000000\", \"black\", \"rgba(0,0,0,1)\"]\n */\n color?: string;\n /**\n * Ticks mode of the X-axis\n */\n ticksMode?: AxisTicksMode;\n /**\n * X-axis scale type\n */\n scale?: AxisScaleType;\n /**\n * Base of the logarithmic scale. Only applies if the scale is logarithmic.\n * @examples [2, 10]\n */\n scaleLogBase?: number;\n /**\n * Density of the ticks on the X-axis\n */\n ticksDensity?: AxisTicksDensity;\n };\n /**\n * Y-axis options\n */\n y?: {\n /**\n * Y-axis color\n * @examples [\"#000000\", \"black\", \"rgba(0,0,0,1)\"]\n */\n color?: string;\n /**\n * Ticks mode of the Y-axis\n */\n ticksMode?: AxisTicksMode;\n };\n };\n /**\n * Bars options\n */\n bars?: {\n /**\n * Bar label options\n */\n label?: BarChartLabel;\n /**\n * Rounded corners of the bars\n * @examples [0, 5, 10]\n */\n roundedCorners?: number;\n };\n /**\n * Manual axis range options. Minimum and maximum value of the axis range.\n */\n manualAxesRange?: ManualAxesRange;\n /**\n * Guidelines options\n */\n guidelines?: Guidelines;\n}\n\ninterface BarChartDisplayViewOptions extends\n DisplayTitleViewOptions,\n DisplayLegendViewOptions {\n /**\n * General display options of the Bar chart: title, legend and mode option\n */\n display?: {\n /**\n * Show or hide the title\n * @default true\n */\n title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;\n /**\n * Show or hide the legend\n * @default true\n */\n legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;\n /**\n * Show or hide the mode option\n * @default false\n */\n modeOption?: boolean;\n };\n}\n\ninterface BarChartInteractivityViewOptions extends\n InteractivityCustomTooltipViewOptions,\n InteractivityGoToUrlViewOptions,\n InteractivityDrilldownViewOptions,\n InteractivityExportViewOptions {\n /**\n * Interactivity options\n */\n interactivity?: {\n /**\n * Available export types interactivity option\n */\n availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;\n /**\n * Custom events interactivity option\n */\n customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;\n /**\n * Custom tooltip interactivity option, in format {locale: \"tooltip\"}, for example, {en: \"Total Revenue\"}\n */\n customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;\n /**\n * Drilldown interactivity option\n */\n drilldown?: NonNullable<NonNullable<InteractivityDrilldownViewOptions['interactivity']>['drilldown']>;\n /**\n * Export types interactivity option\n */\n exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;\n /**\n * Measure dimension picker interactivity option\n */\n measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;\n /**\n * Filter on select interactivity option\n */\n select?: boolean;\n /**\n * Go to URL interactivity option\n */\n urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;\n };\n}\n\nexport type BarChartMode = 'grouped' | 'stacked' | '100';\n\nexport type BarChartLabel = 'none' | 'percentage' | 'percentageMax' | 'percentageCategory' | 'percentageLegend';\n\nexport type BarChartSubtype = 'bar' | 'bar-stack' | 'bar-group';\n"]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { VizItemType } from '../shared/common';
|
|
2
|
+
import { BarChartViewOptions } from './bar-chart-options';
|
|
3
|
+
import { BarChartSlots } from './bar-chart.slots';
|
|
4
|
+
/**
|
|
5
|
+
* Bar chart item
|
|
6
|
+
*/
|
|
7
|
+
export interface BarChart {
|
|
8
|
+
/**
|
|
9
|
+
* Type of the item
|
|
10
|
+
*/
|
|
11
|
+
type: Extract<VizItemType, 'bar-chart'>;
|
|
12
|
+
/**
|
|
13
|
+
* Options of the bar chart item
|
|
14
|
+
* @$ref ./bar-chart-options.schema.json/
|
|
15
|
+
*/
|
|
16
|
+
options: BarChartViewOptions;
|
|
17
|
+
/**
|
|
18
|
+
* Data definition of the Bar chart
|
|
19
|
+
* @maxItems 3
|
|
20
|
+
* @$ref ./bar-chart-slots.schema.json
|
|
21
|
+
*/
|
|
22
|
+
slots: BarChartSlots;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=bar-chart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar-chart.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACxC;;;OAGG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,KAAK,EAAE,aAAa,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar-chart.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.ts"],"names":[],"mappings":"","sourcesContent":["import { VizItemType } from '../shared/common';\nimport { BarChartViewOptions } from './bar-chart-options';\nimport { BarChartSlots } from './bar-chart.slots';\n\n/**\n * Bar chart item\n */\nexport interface BarChart {\n /**\n * Type of the item\n */\n type: Extract<VizItemType, 'bar-chart'>;\n /**\n * Options of the bar chart item\n * @$ref ./bar-chart-options.schema.json/\n */\n options: BarChartViewOptions;\n /**\n * Data definition of the Bar chart\n * @maxItems 3\n * @$ref ./bar-chart-slots.schema.json\n */\n slots: BarChartSlots;\n}\n"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DashboardContentVizItemSlot, DashboardContentVizItemSlotContent } from '../shared/slots';
|
|
2
|
+
/**
|
|
3
|
+
* Measure slot definition of the bar chart. A bar chart can contain any number of measures but if it contains 2 or more measures, the measures become the legend.
|
|
4
|
+
*/
|
|
5
|
+
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
6
|
+
name: 'measure';
|
|
7
|
+
/**
|
|
8
|
+
* Measure slot definition
|
|
9
|
+
*/
|
|
10
|
+
content: DashboardContentVizItemSlotContent[];
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Category slot definition of the bar chart. This defines the bars on the Y-axis.
|
|
14
|
+
*/
|
|
15
|
+
interface YAxisSlot extends DashboardContentVizItemSlot {
|
|
16
|
+
name: 'y-axis';
|
|
17
|
+
/**
|
|
18
|
+
* Y-axis slot definition
|
|
19
|
+
*/
|
|
20
|
+
content: DashboardContentVizItemSlotContent[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Legend slot definition of the bar chart. This defines the legend of the bar chart. If 2 measures are used, the legend cannot be used.
|
|
24
|
+
*/
|
|
25
|
+
interface LegendSlot extends DashboardContentVizItemSlot {
|
|
26
|
+
name: 'legend';
|
|
27
|
+
/**
|
|
28
|
+
* Legend slot definition
|
|
29
|
+
*/
|
|
30
|
+
content: DashboardContentVizItemSlotContent[];
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Data definition of the Bar chart
|
|
34
|
+
* @maxItems 3
|
|
35
|
+
*/
|
|
36
|
+
export type BarChartSlots = (MeasureSlot | YAxisSlot | LegendSlot)[];
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=bar-chart.slots.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar-chart.slots.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,kCAAkC,EAAE,MAAM,iBAAiB,CAAC;AAElG;;GAEG;AACH,UAAU,WAAY,SAAQ,2BAA2B;IACvD,IAAI,EAAE,SAAS,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;GAEG;AACH,UAAU,SAAU,SAAQ,2BAA2B;IACrD,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;GAEG;AACH,UAAU,UAAW,SAAQ,2BAA2B;IACtD,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,kCAAkC,EAAE,CAAC;CAC/C;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,WAAW,GAAG,SAAS,GAAG,UAAU,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bar-chart.slots.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.ts"],"names":[],"mappings":"","sourcesContent":["import { DashboardContentVizItemSlot, DashboardContentVizItemSlotContent } from '../shared/slots';\n\n/**\n * Measure slot definition of the bar chart. A bar chart can contain any number of measures but if it contains 2 or more measures, the measures become the legend.\n */\ninterface MeasureSlot extends DashboardContentVizItemSlot {\n name: 'measure';\n /**\n * Measure slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Category slot definition of the bar chart. This defines the bars on the Y-axis.\n */\ninterface YAxisSlot extends DashboardContentVizItemSlot {\n name: 'y-axis';\n /**\n * Y-axis slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Legend slot definition of the bar chart. This defines the legend of the bar chart. If 2 measures are used, the legend cannot be used.\n */\ninterface LegendSlot extends DashboardContentVizItemSlot {\n name: 'legend';\n /**\n * Legend slot definition\n */\n content: DashboardContentVizItemSlotContent[];\n}\n\n/**\n * Data definition of the Bar chart\n * @maxItems 3\n */\nexport type BarChartSlots = (MeasureSlot | YAxisSlot | LegendSlot)[];\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/bar-chart/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './bar-chart';\nexport * from './bar-chart-options';\nexport * from './bar-chart.slots';\n"]}
|
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
import { AxisGridlinesStyle, AxisScaleType, AxisTicksDensity, ManualAxesRange, XAxisLabelPosition, YAxisLabelPosition } from '../shared/axes';
|
|
2
|
+
import { AxisObjectViewOptions } from '../shared/axis-view-options';
|
|
3
|
+
import { AxisTicksMode, LimitViewOptions } from '../shared/common';
|
|
4
|
+
import { FilterableByViewOptions, FilterViewOptions } from '../shared/filters';
|
|
5
|
+
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
6
|
+
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
7
|
+
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
8
|
+
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
9
|
+
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
10
|
+
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
11
|
+
import { ManualValuesRange } from '../shared/ranges';
|
|
12
|
+
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
13
|
+
export interface BoxPlotViewOptions extends Omit<AxisObjectViewOptions, 'interactivity'>, TitleViewOptions, DisplayTitleViewOptions, FilterViewOptions, FilterableByViewOptions, InfoTooltipViewOptions, LimitViewOptions, BoxPlotInteractivity {
|
|
14
|
+
/**
|
|
15
|
+
* Grid options
|
|
16
|
+
*/
|
|
17
|
+
grid?: {
|
|
18
|
+
/**
|
|
19
|
+
* X-axis grid options
|
|
20
|
+
*/
|
|
21
|
+
x?: {
|
|
22
|
+
/**
|
|
23
|
+
* Show or hide the X-axis grid
|
|
24
|
+
* @default false
|
|
25
|
+
*/
|
|
26
|
+
enabled: boolean;
|
|
27
|
+
style?: AxisGridlinesStyle;
|
|
28
|
+
/**
|
|
29
|
+
* Opacity of the X-axis grid
|
|
30
|
+
* @examples [1, 0.5, 0.1]
|
|
31
|
+
*/
|
|
32
|
+
opacity?: number;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Y-axis grid options
|
|
36
|
+
*/
|
|
37
|
+
y?: {
|
|
38
|
+
/**
|
|
39
|
+
* Show or hide the Y-axis grid
|
|
40
|
+
* @default false
|
|
41
|
+
*/
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
style?: AxisGridlinesStyle;
|
|
44
|
+
/**
|
|
45
|
+
* Opacity of the Y-axis grid
|
|
46
|
+
* @examples [1, 0.5, 0.1]
|
|
47
|
+
*/
|
|
48
|
+
opacity?: number;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* Axes labels options
|
|
53
|
+
*/
|
|
54
|
+
axislabels?: {
|
|
55
|
+
/**
|
|
56
|
+
* X-axis label options
|
|
57
|
+
*/
|
|
58
|
+
x?: {
|
|
59
|
+
/**
|
|
60
|
+
* Show or hide the X-axis labels
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @default "center"
|
|
66
|
+
*/
|
|
67
|
+
position: XAxisLabelPosition;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Y-axis label options
|
|
71
|
+
*/
|
|
72
|
+
y?: {
|
|
73
|
+
/**
|
|
74
|
+
* Show or hide the Y-axis labels
|
|
75
|
+
* @default false
|
|
76
|
+
*/
|
|
77
|
+
enabled: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @default "middle"
|
|
80
|
+
*/
|
|
81
|
+
position: YAxisLabelPosition;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Axes options
|
|
86
|
+
*/
|
|
87
|
+
axis?: {
|
|
88
|
+
/**
|
|
89
|
+
* X-axis options
|
|
90
|
+
*/
|
|
91
|
+
x?: {
|
|
92
|
+
/**
|
|
93
|
+
* X-axis color
|
|
94
|
+
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
95
|
+
*/
|
|
96
|
+
color?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @default "ticks"
|
|
99
|
+
*/
|
|
100
|
+
ticksMode?: AxisTicksMode;
|
|
101
|
+
/**
|
|
102
|
+
* @default "linear"
|
|
103
|
+
*/
|
|
104
|
+
scale?: AxisScaleType;
|
|
105
|
+
/**
|
|
106
|
+
* Logarithmic base of the X-axis
|
|
107
|
+
*/
|
|
108
|
+
scaleLogBase?: number;
|
|
109
|
+
ticksDensity?: AxisTicksDensity;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Y-axis options
|
|
113
|
+
*/
|
|
114
|
+
y?: {
|
|
115
|
+
/**
|
|
116
|
+
* Y-axis color
|
|
117
|
+
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
118
|
+
*/
|
|
119
|
+
color?: string;
|
|
120
|
+
ticksMode?: AxisTicksMode;
|
|
121
|
+
scale?: AxisScaleType;
|
|
122
|
+
/**
|
|
123
|
+
* Base of the logarithmic scale. Only applies if the scale is logarithmic.
|
|
124
|
+
* @examples [2, 10]
|
|
125
|
+
*/
|
|
126
|
+
scaleLogBase?: number;
|
|
127
|
+
ticksDensity?: AxisTicksDensity;
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Is the box plot horizontal
|
|
132
|
+
* @default false
|
|
133
|
+
*/
|
|
134
|
+
horizontal?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Box width
|
|
137
|
+
* @default 0.9
|
|
138
|
+
*/
|
|
139
|
+
boxWidth?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Box fill
|
|
142
|
+
*/
|
|
143
|
+
boxFill?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Box fill by category
|
|
146
|
+
* @default false
|
|
147
|
+
*/
|
|
148
|
+
boxFillByCategory?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Box stroke width
|
|
151
|
+
* @default 1
|
|
152
|
+
*/
|
|
153
|
+
boxStrokeWidth?: number;
|
|
154
|
+
/**
|
|
155
|
+
* Box stroke color
|
|
156
|
+
*/
|
|
157
|
+
boxStrokeColor?: string;
|
|
158
|
+
/**
|
|
159
|
+
* Rounded corners size
|
|
160
|
+
* @default null
|
|
161
|
+
*/
|
|
162
|
+
roundedCorners?: number;
|
|
163
|
+
/**
|
|
164
|
+
* Median stroke width
|
|
165
|
+
* @default 2
|
|
166
|
+
*/
|
|
167
|
+
medianStrokeWidth?: number;
|
|
168
|
+
/**
|
|
169
|
+
* Median stroke color
|
|
170
|
+
* @default "#000000"
|
|
171
|
+
*/
|
|
172
|
+
medianStrokeColor?: string;
|
|
173
|
+
/**
|
|
174
|
+
* Extent ticks visibility
|
|
175
|
+
* @default true
|
|
176
|
+
*/
|
|
177
|
+
extentTicks?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Measure axis type
|
|
180
|
+
* @default "variable"
|
|
181
|
+
*/
|
|
182
|
+
measureAxisType?: 'default' | 'variable' | 'manual';
|
|
183
|
+
/**
|
|
184
|
+
* Observations options
|
|
185
|
+
*/
|
|
186
|
+
observations?: {
|
|
187
|
+
/**
|
|
188
|
+
* Display or hide the observations
|
|
189
|
+
* @default false
|
|
190
|
+
*/
|
|
191
|
+
display?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Only outliers
|
|
194
|
+
* @default false
|
|
195
|
+
*/
|
|
196
|
+
onlyOutliers?: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Observations type
|
|
199
|
+
* @default "dot"
|
|
200
|
+
*/
|
|
201
|
+
type?: 'dot' | 'ticks';
|
|
202
|
+
/**
|
|
203
|
+
* Observations size
|
|
204
|
+
* @default 3
|
|
205
|
+
*/
|
|
206
|
+
size?: number;
|
|
207
|
+
/**
|
|
208
|
+
* Observations color type
|
|
209
|
+
* @default "single"
|
|
210
|
+
*/
|
|
211
|
+
colorType?: 'single' | 'range';
|
|
212
|
+
/**
|
|
213
|
+
* Observations opacity
|
|
214
|
+
* @default 0.4
|
|
215
|
+
*/
|
|
216
|
+
opacity?: number;
|
|
217
|
+
/**
|
|
218
|
+
* Observations jitter
|
|
219
|
+
* @default 30
|
|
220
|
+
*/
|
|
221
|
+
jitter?: number;
|
|
222
|
+
/**
|
|
223
|
+
* Observations number classes
|
|
224
|
+
* @default 5
|
|
225
|
+
*/
|
|
226
|
+
numberClasses?: number;
|
|
227
|
+
/**
|
|
228
|
+
* Observations colors type
|
|
229
|
+
* @default "divergent"
|
|
230
|
+
*/
|
|
231
|
+
colorsType?: 'divergent' | 'sequential' | 'manual';
|
|
232
|
+
/**
|
|
233
|
+
* Observations colors class
|
|
234
|
+
* @default "Spectral"
|
|
235
|
+
*/
|
|
236
|
+
colorsClass?: string;
|
|
237
|
+
/**
|
|
238
|
+
* Observations color
|
|
239
|
+
*/
|
|
240
|
+
color?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Observations manual values
|
|
243
|
+
*/
|
|
244
|
+
manualValues?: {
|
|
245
|
+
ranges?: ManualValuesRange[];
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
manualAxisRange?: ManualAxesRange;
|
|
249
|
+
}
|
|
250
|
+
export interface BoxPlotInteractivity extends InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityExportViewOptions, InteractivityCustomTooltipViewOptions {
|
|
251
|
+
/**
|
|
252
|
+
* Box plot interactivity options
|
|
253
|
+
*/
|
|
254
|
+
interactivity?: {
|
|
255
|
+
/**
|
|
256
|
+
* Available export types interactivity option
|
|
257
|
+
*/
|
|
258
|
+
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
259
|
+
/**
|
|
260
|
+
* Brush interactivity options
|
|
261
|
+
* @default false
|
|
262
|
+
*/
|
|
263
|
+
brush?: boolean;
|
|
264
|
+
/**
|
|
265
|
+
* Custom events interactivity option
|
|
266
|
+
*/
|
|
267
|
+
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
268
|
+
/**
|
|
269
|
+
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
270
|
+
*/
|
|
271
|
+
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
272
|
+
/**
|
|
273
|
+
* Export types interactivity option
|
|
274
|
+
*/
|
|
275
|
+
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
276
|
+
/**
|
|
277
|
+
* Measure dimension picker interactivity option
|
|
278
|
+
*/
|
|
279
|
+
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
280
|
+
/**
|
|
281
|
+
* Go to URL interactivity option
|
|
282
|
+
* @default { target: '_blank', url: null }
|
|
283
|
+
*/
|
|
284
|
+
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
285
|
+
};
|
|
286
|
+
}
|
|
287
|
+
//# sourceMappingURL=box-plot-options.d.ts.map
|