New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

highcharts-border-radius

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highcharts-border-radius

Highcharts Border Radius

  • 0.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Highchart Border Radius

npm Version

Installation

npm install highcharts-border-radius

Usage

The plugin adds options for individual border radius to a highchart column chart.

  • borderRadiusTopLeft
  • borderRadiusTopRight
  • borderRadiusBottomLeft
  • borderRadiusBottomRight

Column Example

const borderRadius = require("highcharts-border-radius");
borderRadius(Highcharts);

Highcharts.chart(".container", {
  chart: { type: "column" },
  title: { text: "Highcharts Border Radius" },
  xAxis: {
    categories: [
      "Jan",
      "Feb",
      "Mar",
      "Apr",
      "May",
      "Jun",
      "Jul",
      "Aug",
      "Sep",
      "Oct",
      "Nov",
      "Dec",
    ],
  },
  yAxis: {
    min: 0,
    title: {
      text: "Example",
    },
  },
  plotOptions: {
    column: {
      borderRadiusTopLeft: 5,
      borderRadiusTopRight: 5,
    },
  },
  series: [
    {
      name: "Series 1",
      data: [1, 5, 9, 2, 4, 5, 7, 6],
    },
    {
      name: "Series 2",
      data: [8, 4, 6, 7, 1, 5, 4, 8],
    },
    {
      name: "Series 3",
      data: [9, 6, 7, 2, 6, 4, 7, 1],
    },
  ],
});

Bar Example

const borderRadius = require("highcharts-border-radius");
borderRadius(Highcharts);

Highcharts.chart(".container", {
  chart: { type: "bar" },
  title: { text: "Highcharts Border Radius" },
  xAxis: {
    categories: [
      "Jan",
      "Feb",
      "Mar",
      "Apr",
      "May",
      "Jun",
      "Jul",
      "Aug",
      "Sep",
      "Oct",
      "Nov",
      "Dec",
    ],
  },
  yAxis: {
    min: 0,
    title: {
      text: "Example",
    },
  },
  plotOptions: {
    bar: {
      borderRadiusTopLeft: 5,
      borderRadiusTopRight: 5,
    },
  },
  series: [
    {
      name: "Series 1",
      data: [1, 5, 9, 2, 4, 5, 7, 6],
    },
    {
      name: "Series 2",
      data: [8, 4, 6, 7, 1, 5, 4, 8],
    },
    {
      name: "Series 3",
      data: [9, 6, 7, 2, 6, 4, 7, 1],
    },
  ],
});

FAQs

Package last updated on 23 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc