Skip to content

Commits on Feb 12, 2022

  1. Make object notation usable for polarArea and radar (#10088)

    * start to make object notation usable for polarArea
    * enable object notation also for radar chart, test default key
    LeeLenaleee committed Feb 12, 2022
  2. Add new align 'inner' for X axis (#10106)

    * Add new align for X axis
    
    new align 'left-right' for options.scales['x'].ticks namespace will allow users to aling ticks: 'start" for first (left) tick and 'end' for last (right) tick
    
    * corrected name of aligment to "inner", documentation and add test for inner labels
    
    * delete unnecessary changes
    
    * corrected logic for reverse axis, add tests for reverse axis and withoutY axis
    
    * corrected chart paddings for "inner" tick align
    
    * code clearness
    
    * Update types/index.esm.d.ts
    
    Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
    
    Co-authored-by: Talla2XLC <alexey.ivanov@epc.com.ru>
    Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
    Co-authored-by: Jacco van den Berg <39033624+LeeLenaleee@users.noreply.github.com>
    4 people committed Feb 12, 2022

Commits on Jan 27, 2022

Commits on Jan 1, 2022

  1. Fix using above/below filling option with discontinuous lines (#10024)

    Added a test in the boundary folder
    charlesmass2 committed Jan 1, 2022

Commits on Dec 23, 2021

  1. radialLinear: fix positioning & scaling (#10021)

    * radialLinear: fix positioning & scaling
    
    * bloody pixels
    
    * better radar fixtures
    kurkle committed Dec 23, 2021
  2. radialLinear: fix getIndexAngle when there are no labels (left) (#10020)

    * Resolve animation if indexAngle is NaN
    
    * make it private
    
    * add test
    
    * use chart.js helper instead of own logic
    
    * implement feedback
    
    * remove extra line
    
    * my precious bits
    LeeLenaleee committed Dec 23, 2021

Commits on Dec 22, 2021

  1. radialLinear: Hide pointLabels of hidden data (#10018)

    * radialLinear: Hide pointLabels of hidden data
    
    * filter after map
    kurkle committed Dec 22, 2021

Commits on Dec 21, 2021

  1. Add centerPointLabels option for linear radial scale (#9949)

    * center point labels to slices in polar chart
    
    * remove unnecessary comments
    
    * put the code together in one line
    
    * fix the code according to the code review
    
    * Undo changes related to the createContext function
    
    * add documentation and types.
    t-mangoe committed Dec 21, 2021

Commits on Dec 16, 2021

  1. Fix setActiveElements behavior after a mouse event (#9992)

    * Fix setActiveElements behavior after a mouse event
    
    * Better variable name
    kurkle committed Dec 16, 2021

Commits on Dec 9, 2021

Commits on Dec 8, 2021

  1. Limit active element changes to chartArea (#9970)

    * Limit active element changes to chartArea
    
    * CC, remove duplicate ChartEvent interface
    
    * CC2
    kurkle committed Dec 8, 2021
  2. Pass object from array as value to _fallback (#9969)

    * Pass object from array as value to _fallback
    
    * cleanup
    
    * reduce changes
    
    * reduce even more changes
    kurkle committed Dec 8, 2021

Commits on Dec 6, 2021

  1. Improvements to tooltip positioners (#9944)

    * Improve positioner types; allow overriding xAlign and yAlign
    
    * More type improvements; pass in Chart as third parameter
    
    * Expose chart as part of TooltipModel
    
    I initially passed the Chart element as the third parameter to the positioner; however, Scale and LegendElement elements expose `this.chart`, and sample code for positioners used `this._chart`, so documenting the chart member and giving it a public name seems to make more sense.
    
    * Update documentation
    
    * Fix documentation
    
    * Fix issues from code review
    joshkel committed Dec 6, 2021
  2. Specify UTC time zone for the test suite (#9945)

    The controller.bar/not-grouped/on-time test was failing on my computer because the date ranges happen to cross the end of Daylight Saving Time in the U.S., so chart was generated with one more hour of time than the test fixture expected.
    
    Using moment-timezone to specify a fixed time zone with no DST seemed like the most robust fix. (Alternatively, I could pick a date range that doesn't change DST; that ought to work.)
    joshkel committed Dec 6, 2021

Commits on Dec 5, 2021

  1. Support "r" axis for non-intersecting interaction (#9919)

    * Support "r" axis for non-intersecting interaction
    
    * Extract some interaction functionality
    
    * Remove whitespace and semicolons
    
    * WIP: add interaction test
    
    * Update documentation
    
    * Fix test
    
    * Add another test
    
    * Update axis params
    
    * Add additional axis check to binary search
    
    * Update axis type
    luukdv committed Dec 5, 2021
  2. Feature/active elements on top (#9920)

    * add flag to draw active items on top
    
    * add documentation and types
    
    * remove redundent check
    
    * added test
    
    * resolve linting errors
    
    * increase tollerance
    
    * remove axes for better test, hope no tolerance needed
    LeeLenaleee committed Dec 5, 2021
  3. Add borderJoinStyle option for arc elements (#9877)

    * Add borderJoinStyle option for arc elements
    * docs + types
    * Consistently enumerate the possible choices
    kurkle committed Dec 5, 2021

Commits on Nov 29, 2021

  1. Fix tooltip caret position when it is positioned at the corners (#9922)

    * Fix tooltip caret position when  at the corners
    
    * Add test
    
    Co-authored-by: Dirk Gausmann <di.gaus@gmx.de>
    kurkle and digaus committed Nov 29, 2021
  2. Category: Track automatically added labels (#9921)

    * Category: Track automatically added labels
    
    * Use correct yAxisKey (does not change anything)
    kurkle committed Nov 29, 2021

Commits on Nov 27, 2021

  1. Detect detach/attach in same observation (#9876)

    * Detect detach/attach in same observation
    
    * Missing `!`, better tests
    
    * reduce duplication
    kurkle committed Nov 27, 2021

Commits on Nov 17, 2021

  1. Synchronize data visibility with data changes (#9857)

    * Synchronize data visibility with data changes
    
    * avoid babel spread bug
    
    * Simpler?
    
    * one more
    
    * simple enough, cc?
    kurkle committed Nov 17, 2021
  2. Fix inRange for full circle arc (#9871)

    * Update misleading sample comment
    
    * Fix inRange for full circle arc
    kurkle committed Nov 17, 2021
  3. Configure all datasets before updating any (#9872)

    * Update misleading sample comment
    
    * Configure all datasets before updating any
    kurkle committed Nov 17, 2021

Commits on Oct 23, 2021

  1. Fix cleaning up metasets (#9656)

    * Fix cleaning up metasets
    
    I believe it's a mistake to only delete the metaset if it has a valid controller; see f191f2f for where this behavior was introduced.
    
    This is a minimal fix for #9653; as discussed there, it may also be worth updating `updateHoverStyle`.
    
    As of #7030, `this._metasets` should always be defined, so checking whether it's undefined is no longer necessary.
    
    * Add a test covering metaset behavior
    
    * Add a regression test for #9653; fix `toHaveSize` usage
    
    * Fix test failure
    joshkel committed Oct 23, 2021

Commits on Oct 13, 2021

  1. Support nested scriptable options for datasets (#9758)

    * Support nested scriptable options for datasets
    kurkle committed Oct 13, 2021

Commits on Oct 11, 2021

  1. Disable animations for BasicPlatform (offcreen) (#9751)

    * Disable animations for BasicPlatform (offcreen)
    * Update types
    kurkle committed Oct 11, 2021
Older