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

Provide different echarts versions

    Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment -

          Ah, I never noticed that. Please go ahead and file a PR.

          Show
          drulli Ulli Hafner added a comment - Ah, I never noticed that. Please go ahead and file a PR.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: