Skip to content

Releases: bherbruck/svelte-echarts

v1.0.0-rc3

05 Jul 12:42
Compare
Choose a tag to compare
chore: update version

v1.0.0-rc2

18 Jun 15:15
6b5b44b
Compare
Choose a tag to compare
v1.0.0-rc2 Pre-release
Pre-release

fixed initial render

v1.0.0-rc1

20 May 21:02
4eb59a8
Compare
Choose a tag to compare
v1.0.0-rc1 Pre-release
Pre-release

What's Changed

  • Everything
  • New API and working tree shaking by @bherbruck in #18
    • init function must be passed into the component, can be either from classic echarts or tree-shaking echarts/core with use
    • This will likely be changed as the echarts tree-shaking API matures
  • Events are now available, typing for non-mouse events is incomplete
<script>
  import { Chart } from 'svelte-echarts'

  import { init, use } from 'echarts/core'
  import type { EChartsOption } from 'echarts'
  import { BarChart } from 'echarts/charts'
  import { GridComponent, TitleComponent } from 'echarts/components'
  import { CanvasRenderer } from 'echarts/renderers'

  // now with tree-shaking
  use([BarChart, GridComponent, CanvasRenderer, TitleComponent])
  
  let options = {
    // some options...
  }

</script>

<div class="app">
  <Chart {init} {options} />
</div>

Full Changelog: v0.1.1...v1.0.0-rc1

v0.1.1

29 Nov 01:30
Compare
Choose a tag to compare

NPM package stuff

v0.1.0

28 Nov 04:11
Compare
Choose a tag to compare
Update npm-publish.yml workflow