Apache ECharts panel for Grafana | How to create modern dashboards in Grafana | ECharts Tutorial

Поделиться
HTML-код
  • Опубликовано: 18 ноя 2024

Комментарии • 78

  • @volkovlabs
    @volkovlabs  Год назад +3

    Please share your experience using the Apache ECharts panel.
    Check out documentation to get started: volkovlabs.io/plugins/volkovlabs-echarts-panel/

  • @LearningWithNisa
    @LearningWithNisa 8 месяцев назад +1

    Thank you so much for detailed explanation. I love the way you explain everything in detail.

    • @volkovlabs
      @volkovlabs  8 месяцев назад

      You are welcome! It is great you liked the video.

  • @th30z-code
    @th30z-code Год назад +2

    Thank you! we have a lots of charts written using echarts and we are using Grafana more and more. this allows us to reuse what we have. the video is simple and easy to follow. Very helpful!

    • @volkovlabs
      @volkovlabs  Год назад

      Appreciate the feedback. We love to hear what community is doing with ECharts in Grafana! Let us know if you interested to share your use case, tips&tricks on our blog.
      --
      Mikhail

  • @mmatthieu5346
    @mmatthieu5346 Год назад +2

    What a professional and well-made video and tool. Astonishing.

    • @volkovlabs
      @volkovlabs  Год назад

      Thank you! Appreciate the feedback.

  • @Zaiïzev
    @Zaiïzev 6 дней назад +1

    Thank you very much, however i get
    Echarts Execution Error "echarts is not definied" each time I want to use echarts.init or something else and I cannot use import statement outside a module if I try to import in in the code

    • @volkovlabs
      @volkovlabs  6 дней назад

      We implemented multiple breaking changes in the Business Charts panel since first releases of the Apache ECharts panel.
      Please refer to the latest videos and documentation: volkovlabs.io/plugins/business-charts/options/

  • @felipegutierrezortiz5391
    @felipegutierrezortiz5391 6 месяцев назад +1

    thank you so much for the explanation and for the plugin, i am using it. God bless you.

    • @volkovlabs
      @volkovlabs  6 месяцев назад

      You are welcome! We just published a new video called Business Charts, which explains all the latest features of this plugin which we renamed recently.

  • @kavipriya1406
    @kavipriya1406 9 месяцев назад +1

    @volkovlabs I have some troubleshooting erros ECharts Execution Error
    data is not defined I am following exactly this video. Don't know whats going wrong

    • @volkovlabs
      @volkovlabs  9 месяцев назад

      If you are using Grafana 10, `values.buffer` needs to be updated to `values`. Everything else should work as expected.
      Check our documentation for the latest examples: volkovlabs.io/plugins/volkovlabs-echarts-panel/

  • @Bigman74066
    @Bigman74066 2 года назад +1

    Excellent presentation! Very helpful 👍

  • @sanyagirotra4567
    @sanyagirotra4567 Месяц назад +1

    Hi, I am trying something similar and I am trying to populate data like this:
    data.series.map((s) => {
    apples = s.fields.find((f) => f.name === "apple").values.buffer;
    oranges = s.fields.find((f) => f.name === "orange").values.buffer;
    });
    but it is not working properly and when I am trying to do apples.slice() I am getting the error : `Cannot read properties of undefined` can you help me with the error?

    • @volkovlabs
      @volkovlabs  Месяц назад

      Check out the latest tutorials if you use Grafana 10/11: volkovlabs.io/plugins/business-charts/tutorials/. `values.buffer` should be replaced with `values` in the latest Grafana releases.
      Also, we recently introduced Visual Editor, which helps parse data source data. ruclips.net/video/vda3jbtLnMM/видео.html

  • @rubinwong1879
    @rubinwong1879 2 года назад

    OMG... This is just what i need. Thank you! This video is very helpflu

  • @PadmaKrishnan-q8c
    @PadmaKrishnan-q8c Год назад +1

    @volkovlabs
    This is awesome stuff. I have use echarts for multiple panels now. Is there a way we can show "No Data" when the result of the query is NULL with this plugin?

    • @volkovlabs
      @volkovlabs  Год назад

      You can return this graphic if results are empty:
      ```
      option = {
      graphic: {
      elements: [
      {
      type: 'text',
      left: 'center',
      top: 'center',
      style: {
      text: 'No Data',
      fontSize: 80,
      fontWeight: 'bold',
      lineDash: [0, 200],
      lineDashOffset: 0,
      stroke: '#000',
      lineWidth: 1
      },
      }
      ]
      }
      };
      ```

    • @PadmaKrishnan-q8c
      @PadmaKrishnan-q8c Год назад +1

      Awesome! Thats great. Thanks@@volkovlabs

  • @generalchris90
    @generalchris90 2 года назад

    Fantastic videos! Thank you!

  • @arcanisarcanis2080
    @arcanisarcanis2080 7 месяцев назад +1

    Дарья, здравствуйте!
    Использую apache echarts в работе для построения дашбордов.
    Столкнулся с проблемой, что если я разрабатываю дашборды на большом мониторе, то человек с маленьким монитором видит другую картинку... Не происходит пропорционального уменьшения размеров дашбордов, вместо этого легенда может наехать на график. Т.е. я не могу быть уверен, что пользователь будет видеть мои дашборды такими же красивыми, какими их вижу я на своём мониторе. Хотелось бы, чтобы графики и текст на графиках и легенде уменьшались(или увеличивались) пропорционально размеру экрана. Возможно ли это как сделать?

    • @volkovlabs
      @volkovlabs  7 месяцев назад

      We are using grid in percentage to positioning and avoid collisions.
      ```
      grid: {
      left: '3%',
      right: '4%',
      bottom: '3%',
      containLabel: true
      },
      ```
      You can check various ECharts examples on echarts.volkovlabs.io

    • @arcanisarcanis2080
      @arcanisarcanis2080 7 месяцев назад +1

      @@volkovlabs возможно ли как-то сделать пропорциональное уменьшение графиков? Например, на маленьком экране 14 шрифт уже не нужен, пусть там будет 10. А сейчас сохраняется размер шрифта и получает пересечение и обрезка слов на маленьком экране.

    • @volkovlabs
      @volkovlabs  7 месяцев назад

      @@arcanisarcanis2080 Check out the documentation: localhost:3100/plugins/volkovlabs-echarts-panel/instance/#scale-when-resizing

  • @おもちんち-o3j
    @おもちんち-o3j Год назад +1

    In the Apache ECharts code (function)
    I want to use ${__to} and ${__from} of grafana Variable, but it doesn't seem to work.
    Is there a way to use them?

    • @volkovlabs
      @volkovlabs  Год назад +1

      You need to use replaceVariable function as described in the documentation: volkovlabs.io/plugins/volkovlabs-echarts-panel/variables/

    • @おもちんち-o3j
      @おもちんち-o3j Год назад +1

      @@volkovlabs oh!thanks!!

  • @nicolaerosia
    @nicolaerosia Год назад +1

    🎉 thank you!

  • @AhmadFirdausIdris_AFNAN
    @AhmadFirdausIdris_AFNAN Год назад +1

    Hi. I have been using your Echart Panel for almost a year for my Grafana Cloud, thank you very much. However, Grafana has upgraded my version to the latest stable version last week, and since then the Echart Panel is no longer working, giving this error message "ECharts Execution Error
    Cannot read properties of undefined (reading '0')". Appreciate it if you could share some input on the error.

    • @volkovlabs
      @volkovlabs  Год назад +1

      Grafana updated the structure of the data frames in Grafana 10. If you use `values.buffer` just update to `values`: github.com/VolkovLabs/volkovlabs-echarts-panel/issues/174
      Let me know if it helps.
      --
      Mikhail.

    • @AhmadFirdausIdris_AFNAN
      @AhmadFirdausIdris_AFNAN Год назад +1

      @@volkovlabs Hi, it does not work.

    • @AhmadFirdausIdris_AFNAN
      @AhmadFirdausIdris_AFNAN Год назад +1

      @@volkovlabs Now I don't have the error message anymore, but still graph is not showing, only the tooltip showing with no data.

    • @volkovlabs
      @volkovlabs  Год назад +1

      @@AhmadFirdausIdris_AFNAN Try to save and refresh? Sometimes chart not updating automatically. Please open an issue in GitHub repository with your code snippet if you still have an issue.

  • @aparfeno
    @aparfeno Год назад +1

    Спасибо!

    • @volkovlabs
      @volkovlabs  Год назад

      Glad it helps! We are working on a new video for Apache ECharts. It should be ready end of next week.

  • @nolimit2343
    @nolimit2343 Год назад +1

    how can i use this plugin in Grafana 7.5? Please suggest. Since Grafana has changed their licence to APGLv3 in later version after 7.5

    • @volkovlabs
      @volkovlabs  Год назад

      You can download the plugin and update the minimum requirements to 7.5 to try it out in the `plugin.json` file ` "grafanaDependency": ">=7.5.0" `. Let me know if it works.

    • @nolimit2343
      @nolimit2343 Год назад

      @@volkovlabs it says ''ERROR LOADING"

    • @nolimit2343
      @nolimit2343 Год назад +1

      @@volkovlabs PFA Screenshot drive.google.com/file/d/11zHxv5KkFFmfUGRC5I0zdMUWp8Q8vH7j/view?usp=sharing

    • @volkovlabs
      @volkovlabs  Год назад

      @@nolimit2343 Take a look at volkovlabs.io/plugins/grafana/allow-unsigned/

  • @kk77781
    @kk77781 Год назад +1

    Table output is possible in echarts ?

    • @volkovlabs
      @volkovlabs  Год назад +1

      What do you mean table output? Legend or Table view of data? There is a table view in the toolbar.

    • @kk77781
      @kk77781 Год назад +1

      @@volkovlabs I want to display my output in table format which is row and column format. Reason is I want to download that as png format

    • @volkovlabs
      @volkovlabs  11 месяцев назад +1

      @@kk77781 Unfortunately, it's not supported: github.com/apache/echarts/issues/6058

  • @teohkelvin9751
    @teohkelvin9751 Год назад +1

    after i copy the format then i paste on grafana but, my data is from InfluxDB so the query is like yours different then i can't get any own data dont know why ? is it because not support for influxDB?

    • @volkovlabs
      @volkovlabs  Год назад +1

      Apache ECharts Panel supports any data source. You can find InfluxDb example in the guest blog: volkovlabs.io/blog/stacked-bar-graph-20221004. Take a look at this video explaining how to work with Data Sources: ruclips.net/video/K5YNMSIm9AM/видео.html

    • @teohkelvin9751
      @teohkelvin9751 Год назад +1

      @@volkovlabs thanks a lot

    • @volkovlabs
      @volkovlabs  Год назад

      @@teohkelvin9751 You got it working?

    • @teohkelvin9751
      @teohkelvin9751 Год назад +1

      @@volkovlabs still got some confusing

    • @volkovlabs
      @volkovlabs  Год назад

      @@teohkelvin9751 You can open an issue in the GitHub repo with the question and we can take a look.

  • @tamil-akilanamudhan154
    @tamil-akilanamudhan154 Год назад +1

    Thank you, I am Using Grafana9.0, And the databse is influxdb, I can't able to differentiate the Data for for each refId( Queries A,B,C) , as my requirment is to compare the Value of each refId and then Need to chnage the Colour automaticaly.
    const series = data.series.map((s) => {
    const sData = s.fields.find((f) => f.type === 'number').values.buffer;
    const sTime = s.fields.find((f) => f.type === 'time').values.buffer;

    • @volkovlabs
      @volkovlabs  Год назад

      Take a look at the blog post volkovlabs.io/blog/stacked-bar-graph-20221004/ and documentation volkovlabs.io/plugins/volkovlabs-echarts-panel/datasources/
      --
      Mikhail

  • @lawhoisun
    @lawhoisun Год назад +1

    Hi I can’t seem to get the panel to work when there are Grafana transformations applied. Is there a special way to make it work? It doesn’t seem to read data values after transformations are applied. When taking directly from queries, it is fine.
    Thanks in advance!

    • @volkovlabs
      @volkovlabs  Год назад

      When using transformations, Grafana updates the structure of the data frames. There is a community post with a solution: community.grafana.com/t/sort-the-bar-values-in-a-bar-chart-of-echarts-panel-from-max-to-min-numbers/86765/3. I will update documentation now.
      Let me know if it helps.
      --
      Mikhail

    • @volkovlabs
      @volkovlabs  Год назад +2

      Documentation updated: volkovlabs.io/plugins/volkovlabs-echarts-panel/transformations/

    • @lawhoisun
      @lawhoisun Год назад +1

      Thank you so much! I’ll give it another shot

    • @volkovlabs
      @volkovlabs  Год назад

      Let us know if it works for you.

    • @volkovlabs
      @volkovlabs  Год назад

      @@lawhoisun I just realised I posted dev URL. Here is the correct one: volkovlabs.io/plugins/volkovlabs-echarts-panel/transformations/

  • @namtruong7516
    @namtruong7516 2 года назад

    Thank you very much. My grafana cannot load the unsigned plugin. What variable do i need to declare in the configuration file?

    • @mikhail-vl
      @mikhail-vl 2 года назад

      Our plugins are signed for the default Root URL localhost:3000. If you are using a different URL:
      1) You can allow unsigned plugins and delete MANIFEST.txt file. Take a look at github.com/grafana/grafana/issues/31125. Unfortunately, official Grafana documentation is broken at the moment.
      2) Another option is to use NGINX reverse proxy and keep the default root URL for which the plugin was signed.
      3) We can sign the plugin for your domain and help you install and configure it by sponsoring our open-source plugins: github.com/sponsors/VolkovLabs.
      Please let us know if you have any issues in the repository github.com/VolkovLabs/volkovlabs-echarts-panel/issues

    • @namtruong7516
      @namtruong7516 2 года назад

      Deleted manifest file. It works.
      Thanks !!!

    • @mikhail-vl
      @mikhail-vl 2 года назад

      @@namtruong7516 Great! Let us know if there is anything else.

  • @arthurcortesrezende2669
    @arthurcortesrezende2669 Год назад +1

    omg, grafana is fucking impossible

    • @volkovlabs
      @volkovlabs  Год назад

      We make a lot of things possible with our plugins. Apache ECharts, Dynamic Text and others are good examples what is possible with Grafana.