Uploaded image for project: 'Analytics'
  1. Analytics
  2. ANALYTICS-78

Provide simpler chart config by pre-defined chart so that users can use them (include) to their dashboard definitions

    XMLWordPrintable

Details

    • Story
    • Resolution: Fixed
    • Neutral
    • 1.0
    • None
    • None
    • Add-Ons 13, Add-Ons 14
    • 8

    Description

      Example expectation configuration:

      chartDefinitions:
        - chart1: @includes ohlcChart.yaml
              dataSupplier: GA
              title: myTitle
        - chart2: @includes: PIEChart.yaml
            dataSupplier: Matomo
            title: Pie chart   

      or

      chartDefinitions:
        - chart1: 
             type: ohlcChart
              dataSupplier: GA
              title: myTitle
        - chart2: 
            type: PIEChart
            dataSupplier: Matomo
            title: Pie chart   

      Agreement: Just for really basic chart, complex case user will config nativeJson by their own (We did propose config nativeJson)

      Propose approach:

      • Create ChartTypeRegistry that keep all basic amchart configuration definition
      • In dashboard definition (above example), thinking used custom yaml tag to inherit or pre-define dashboard if needed, see content-type construct example 

      Checklists

        Acceptance criteria

        Attachments

          1. 1-4.png
            1-4.png
            129 kB
          2. 5-8.png
            5-8.png
            176 kB
          3. analytic-sample.zip
            8 kB

          Issue Links

            Activity

              People

                oanh.thai Oanh Thai Hoang
                oanh.thai Oanh Thai Hoang
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 6d 1h
                      6d 1h