How to use the bpk-component-barchart/data.json.prices function in bpk-component-barchart

To help you get started, we’ve selected a few bpk-component-barchart examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Skyscanner / backpack / packages / bpk-docs / src / pages / BarchartsPage / BarchartsPage.js View on Github external
const EnhancedBarchart = updateOnDirectionChange(BpkBarchart);
const InteractiveBarchart = withSelectedState(EnhancedBarchart);

const components = [
    id: 'default',
    title: 'Default',
    blurb: [
      By default, bar charts come with axis labels.,
    examples: [
    id: 'gridlines',
    title: 'With gridlines',
    blurb: [
        It is possible to show gridlines for each tick on the Y axis.


Backpack bar chart component.

Latest version published 12 months ago

Package Health Score

81 / 100
Full package analysis

Similar packages