Skip to content
Permalink
master

Commits on Feb 6, 2021

  1. Remove options.scale, in favor of options.scales.r (#8393)

    Remove options.scale, in favor of options.scales.r
    kurkle committed Feb 6, 2021
  2. Codeclimate: Cognitive Complexity threshold 5->6 (#8391)

    kurkle committed Feb 6, 2021
  3. Update ScriptableContext, reduce warnings (#8390)

    * Update ScriptableContext, reduce warnings
    
    * _parsed is unknown[]
    
    * Add defaults
    
    * static defaults.
    
    * review update
    
    * more cancelables
    kurkle committed Feb 6, 2021
  4. Fix/type dateadapter override (#8377)

    * Not totally sure this is right , but since in core.adapters.js override is part of the dateadapter it seems logical it should be there. Should also fix #8369
    * implemented feedback
    * Declare the dataAdapter since it will be available at runtime if someone overrides it
    * remove declaration. if this is giving problems in the future it might need te be added again
    LeeLenaleee committed Feb 6, 2021

Commits on Feb 5, 2021

  1. Fix element creation for large dataset (#8388)

    * Fix element creation for large dataset
    * Fix syncing
    * Remove duplication
    kurkle committed Feb 5, 2021
  2. Update types for indexAxis (#8389)

    * Add indexAxis to CoreChartOptions
    * Update types for indexAxis
    kurkle committed Feb 5, 2021
  3. Add raw data to context and rename dataPoint to parsed (#8318)

    * Make the raw data point available in scriptable context
    * Rename variables
    * Update samples
    benmccann committed Feb 5, 2021
  4. Improve radial gradient sample (#8383)

    * Improve radial gradient sample
    * Add hover
    kurkle committed Feb 5, 2021

Commits on Feb 4, 2021

  1. Prevent 2nd parse call with zero count (#8379)

    kurkle committed Feb 4, 2021

Commits on Feb 1, 2021

  1. Create a new hook to enable data decimation (#8255)

    * Create a new hook to enable data decimation
    
    The `beforeElementUpdate` hook can be used to decimate data. The chart
    elements will not be created until after this hook has fired ensuring that
    if decimation occurs, only the needed elements will be created.
    
    * Address code review feedback
    
    * Rename hook to beforeElementsUpdate
    
    * Simplify parsing logic
    
    * Add decimation plugin to the core
    
    * Allow a dataset to specify a different data key
    
    * Decimation plugin uses the dataKey feature
    
    * Refactor the decimation plugin to support configurable algorithms
    
    * Lint the plugin changes
    
    * Tests for the dataKey feature
    
    * Convert test files to tabs
    
    * Standardize on tabs in ts files
    
    * Remove the dataKey feature
    
    * Replace dataKey usage in decimation plugin
    
    We define a new descriptor for the `data` key allowing the
    plugin to be simpler.
    
    * Disable decimation when indexAxis is Y
    
    * Simplify the decimation width approximation
    
    * Resolve the indexAxis correctly in all cases
    
    * Initial documentation
    
    * Reverse check
    
    * Update TS definitions for new plugin options
    
    * Move defineProperty after bailouts
    
    * Add destroy hook
    etimberg committed Feb 1, 2021
  2. Bump version number for beta.10 (#8364)

    etimberg committed Feb 1, 2021
  3. Shave off some bytes (#8362)

    kurkle committed Feb 1, 2021
  4. Update type map names (#8356)

    * Rename ElementOptions to ElementOptionsByType
    
    * Rename CommonOptions to CommonElementOptions
    
    * Rename PluginOptions to PluginOptionsByType
    Add new PluginChartOptions and remove some duplicates
    
    * Rename ScaleOptions to ScaleOptionsByType
    
    * Use Partial where appropriate
    etimberg committed Feb 1, 2021
  5. Prevent test timeouts due to Chrome backgrounding (#8360)

    * Prevent test timeouts due to Chrome backgrounding
    
    * Add karma.conf.js to test filters
    kurkle committed Feb 1, 2021

Commits on Jan 31, 2021

  1. align text inside chart for far-aligned labels passing test (#8359)

    * align text inside chart for far-aligned labels
    
    * added fix for failing test on suggestion of @kurkle
    
    Co-authored-by: Marcel Samyn <marcel.samyn@lab900.com>
    LeeLenaleee and lab900-marcel-samyn committed Jan 31, 2021
  2. Rename LayoutItem.fullWidth to fullSize (#8358)

    kurkle committed Jan 31, 2021

Commits on Jan 30, 2021

  1. Fix/scatter tooltip mode (#8354)

    * scatter tooltip should be point by default
    * edited mode on better level and updated docs to be bit more clear
    LeeLenaleee committed Jan 30, 2021
  2. Give elements their own interface definition (#8290)

    From what I understand, if we want to allow registering additional element options (see [here][1] for an example), then the element options need to be a top-level interface so that they can be used with TypeScript's [declaration merging][2].
    
    [1]: chartjs/chartjs-plugin-annotation#275 (comment)
    [2]: https://www.typescriptlang.org/docs/handbook/declaration-merging.html
    joshkel committed Jan 30, 2021
  3. feature: choose custom point style for bar legend display (#8341)

    * add feature to choose custom point style for bar legend display
    * add documentation and type
    * the docs are in the right place now
    LeeLenaleee committed Jan 30, 2021

Commits on Jan 25, 2021

  1. getRelativePosition takes two arguments (#8336)

    etimberg committed Jan 25, 2021

Commits on Jan 23, 2021

  1. Bump socket.io from 2.3.0 to 2.4.1 (#8333)

    Bumps [socket.io](https://github.com/socketio/socket.io) from 2.3.0 to 2.4.1.
    - [Release notes](https://github.com/socketio/socket.io/releases)
    - [Changelog](https://github.com/socketio/socket.io/blob/2.4.1/CHANGELOG.md)
    - [Commits](socketio/socket.io@2.3.0...2.4.1)
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot committed Jan 23, 2021

Commits on Jan 18, 2021

  1. Add documentation for vertical line charts (#8327)

    * add documentation for vertical line charts
    
    * remove the indexAxis prop from dataset since it doesnt belong there, fix horizontal bars example and make vertical line example
    
    * 2 bars to line rename
    
    * fix v3-migration guide
    
    * revert deletion of prop from table in bar, added in line. Removed anchor point in link from v3 docs
    
    * put right text in general of line
    LeeLenaleee committed Jan 18, 2021
  2. fix canvas clearRect size calculation (#8328)

    Co-authored-by: Marcel Samyn <marcel.samyn@lab900.com>
    iamarcel and lab900-marcel-samyn committed Jan 18, 2021
  3. Update to test utils 0.1.2 to track font setting (#8325)

    etimberg committed Jan 18, 2021

Commits on Jan 17, 2021

  1. tooltip not showing, edit config (#8323)

    LeeLenaleee committed Jan 17, 2021

Commits on Jan 16, 2021

  1. Doughnut: complete radians to degrees conversion (#8321)

    kurkle committed Jan 16, 2021
  2. Bump v3.0.0-beta.9 (#8320)

    Co-authored-by: Evert Timberg <ever.timberg+github@gmail.com>
    etimberg and Evert Timberg committed Jan 16, 2021
  3. Revert "Update spelling of cancellable (#8236)" (#8312)

    This reverts commit e6dfc47.
    benmccann committed Jan 16, 2021
  4. Fix broken links in tooltip docs (#8316)

    benmccann committed Jan 16, 2021
  5. Disable Path2D caching when chart is animated (#8319)

    * Disable Path2D caching when chart is animated
    * Add note to performance docs
    kurkle committed Jan 16, 2021

Commits on Jan 14, 2021

  1. fixes #8304 (Missing type) beta 8 broken typescript (#8305)

    * fixes #8304
    
    * Update layout.d.ts
    
    First letter of variable from capital to normal
    LeeLenaleee committed Jan 14, 2021

Commits on Jan 13, 2021

  1. Bump version to beta.8 (#8300)

    kurkle committed Jan 13, 2021
  2. Only draw points when radius >= 0.1 (#8302)

    kurkle committed Jan 13, 2021

Commits on Jan 10, 2021

Older