Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60770

Provide different echarts versions

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • echarts-api-plugin
    • None

      Echarts provides multiple versions of the library with different scopes [1]:

      echarts.js provides all types of charts
      echarts.common.js includes common charts and components, thus being smaller
      echarts.simple.js is the smallest version with even fewer charts and components

      Currently the echarts-api-plugin includes echarts.common.js. Unfortunately, this does not include treemaps, which I'd like to use in my Jenkins plugin.

      It would be good to have the possibility to choose between the different possible versions of echarts. I'd propose to have three files echarts.jelly, echarts-common.jelly and echarts-simple.jelly, so they could be used via the jelly includes statement.

      I would open a PR for this, if that is ok with you? 

      [1] https://echarts.apache.org/en/tutorial.html#Create%20Custom%20Build%20of%20ECharts

            andipabst Andreas Pabst
            andipabst Andreas Pabst
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: