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

cxviz-timeseries

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cxviz-timeseries - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

CHANGES.md

@@ -0,1 +1,7 @@

2015-06-22, Version 1.0.2
=========================
* keep current timeline selection visible on the chart when 0 (seanbrookes)
2015-06-03, Version 1.0.1

@@ -2,0 +8,0 @@ =========================

20

index.js

@@ -523,2 +523,3 @@ 'use strict';

.on('mousemove', getHoverX)
.on('mouseout', removeHoverX)
.on('click', handleClick);

@@ -530,3 +531,3 @@ }

var rec = self.getRecordAt(ts);
var x = self.x(rec.date) | 0;
var x = self.x(rec.date) | 1;
self.selectionX = x;

@@ -542,2 +543,5 @@ self.selectLine

function removeHoverX() {
self.hoverLine.attr('style', 'display: none');
}
function getHoverX() {

@@ -558,3 +562,6 @@ var coords = d3.mouse(this);

var rec = this.getRecordAt(ts);
var x = this.x(rec.date) | 0;
var x = this.x(rec.date) | 1;
if (x === 0) {
x = 1;
}
this.selectionX = x;

@@ -588,3 +595,7 @@ this.hoverAt(ts);

var x = self.x(record.date) | 0;
// keep the line visible on first record
var x = self.x(record.date) | 1;
if (x === 0) {
x = 1;
}

@@ -604,3 +615,3 @@ self.hoverLine

.attr('y1', 0).attr('y2', self.innerHeight)
.attr('style', 'display: visible');
.attr('style', 'display: block');

@@ -622,2 +633,3 @@ self.disableHoverLine();

})
.attr('style', 'display: block')
.attr('stroke-width', 1);

@@ -624,0 +636,0 @@ }

2

package.json
{
"name": "cxviz-timeseries",
"version": "1.0.1",
"version": "1.0.2",
"description": "Strongloop TimeSeries Graph Visualization",

@@ -5,0 +5,0 @@ "main": "index.js",

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