Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apexcharts

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apexcharts - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

2

package.json
{
"name": "apexcharts",
"description": "A JavaScript Chart Library",
"version": "1.4.1",
"version": "1.4.2",
"main": "dist/apexcharts.min.js",

@@ -6,0 +6,0 @@ "directories": {

@@ -398,6 +398,6 @@ import Annotations from './modules/Annotations'

// while updateing pie/donut series, user completely changed the series length too
if (!w.globals.axisCharts && newSeries.length !== w.globals.series.length) {
w.globals.dataChanged = false
animate = false
}
// if (!w.globals.axisCharts && newSeries.length !== w.globals.series.length) {
// w.globals.dataChanged = false
// animate = false
// }

@@ -404,0 +404,0 @@ if (animate) {

@@ -348,3 +348,2 @@ import Fill from '../modules/Fill'

}
if (opts.i === w.config.series.length - 1) {

@@ -377,2 +376,8 @@ // some adjustments for the last overlapping paths

if (isNaN(fromStartAngle) || isNaN(prevAngle)) {
fromStartAngle = toStartAngle
prevAngle = angle
opts.dur = 0
}
let currAngle = angle

@@ -392,3 +397,4 @@ let startAngle = toStartAngle

if (params.animateStartingPos) {
startAngle = (fromStartAngle - currAngle) + (toStartAngle - (fromStartAngle - currAngle)) * pos
currAngle = (prevAngle) + (angle - (prevAngle)) * pos
startAngle = (fromStartAngle - prevAngle) + (toStartAngle - (fromStartAngle - prevAngle)) * pos
}

@@ -395,0 +401,0 @@

@@ -366,2 +366,8 @@ import Dimensions from './Dimensions'

if (w.config.legend.position === 'right' || w.config.legend.position === 'left') {
if (y < w.config.legend.markers.size) y = w.config.legend.markers.size
}
console.log(y)
elLegendWrap.setAttribute('transform', `translate(${x}, ${y})`)

@@ -368,0 +374,0 @@ }

Sorry, the diff of this file is too big to display

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