Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Opti develop update #1

Merged
merged 67 commits into from
Mar 4, 2021
Merged

Opti develop update #1

merged 67 commits into from
Mar 4, 2021

Conversation

darcyparker
Copy link

House keeping: Update opti's fork with upstream changes

History:

simonkwesi and others added 30 commits January 21, 2016 21:18
The IFrameTarp.prototype.cover function calls `findPos` from the `dygraph-utils.js` file but does not import it. 
This fixes danvk#724
Bugfix: Import missing dygraph-utils.js
Also includes a minor refactor to consolidate duplicated code for
toDataCoord calculations on logscale axes.

Fixes issue danvk#661.
Chart overlaps "Edit in jsFiddle" button
Fix yRangePad for logscale graphs, add tests.
Bugfix: Unwanted drawn point when prevCanvasX is 0
Check for new options before updating synchronised graphs (Fixes danvk#760)
* indexFromSetName works with trailing invisible sets

If the last set(s) have their visibility set to false, their names
would not be added to `setIndexByName_`, so `indexFromSetName` would
not be able to find them. This fixes that problem.

* Corrected test.

* Properly clone graph options
Synchronization breaks up if this case is not checked. Fix has been
proposed in the bugreport.
* [utils] dateString_ display Milliseconds if any

* [utils] fix dateAxisLabelFormatter milliseconds

* [util] dateString_: compute ms in frac

* [utils] clean hmsString_ format

* [utils] add milliseconds padding in hmsString_

* [develop] add note on npm install

* [tests] add labelsDateMilliseconds test

* [utils] add millis in dateAxisLabelFormatter

* [tests] fix requested changes in labelsDateMillis

* [auto_tests] add date_formats testMillisecondsDate
klemens and others added 23 commits February 14, 2017 22:17
1. The second argument of getOption should be marked as optional per
jsdoc at: http://dygraphs.com/jsdoc/symbols/Dygraph.html#getOption

2. 'boolean' is typo'd as 'Boolean' in updateOptions.
, test included. (danvk#877)

* Added pixelRatio option, using where appropriate.

Falls back to old behavior if not specified.
Added to options reference,
Added to Dygraph.prototype.resizeElements_,
Added to rangeSelector.prototype.updateVisibility.

* Fixed bug in range-selector pixelRatio implementation, tests pass

* added test for the pixelRatio option, properly run.

First fails without change, then passes after change.

* Added pull request suggestions

Fix typo in docs, documented a float type,
Simplified method of reading option.

* Added note about pixelRatio affecting resolution
* Add milliseconds granularity wtih changes from danvk#777 with suggestions taken into account and mergeable with master.

* Fix granularities according to original PR.

* Add assertions for millisecond granularities

* Add an example for labels below SECONDLY granularity
…e start (danvk#896)

Adding fields to a structure after it is created can be slow on some
browsers, like Chrome.

Adding a demo to benchmark many points, this seems to speed up my
Chromium from about 2.8-3s to about 1.8s.

Thanks to Christopher Palmer (@thecav) for the analysis and specific
suggestion.
This format is problematic, because it causes error:

Couldn't parse 20035000 as a date
...
Couldn't parse 20251000 as a date

There should be parser added, that will support this format (20251000)
example data
data: "dist	sum↵20033000	49↵20034000	48↵20035000	48↵20036000"
Fixes issue danvk#984 (Couldn't parse 20035000 as a date)
@hydrojumbo
Copy link

Do any of these changes visibly impact our current users' experiences?

@darcyparker
Copy link
Author

No - There are no css changes. And I observed no behavior changes.

Copy link

@hydrojumbo hydrojumbo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@darcyparker darcyparker merged commit 822d96f into opti-develop Mar 4, 2021
@darcyparker darcyparker deleted the optiDevelopUpdate branch March 4, 2021 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.