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

DOC: difference between chart definitions and chart types+ usage

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Neutral
    • None
    • None
    • None

    Description

      from Thuy in ANALYTICS-148 :heart:

       

      Hi jlegendre,

      This is how to registry a chart in dashboard after code changed. 

        

      Example: how to registry a timeline chart in dashboard

      Before:

          chartDefinitions:

               timeline-chart:

                    label: timeline-chart

                    class: info.magnolia.analytics.amcharts.data.AmChartDefinition

                    dataSupplier: testDataSupplier

                    chartType: !include:/analytics-ui/chartTypes/timeline/timeline.yaml           

                    type: SerpentineChart

      After:

          chartDefinitions:

                timeline-chart:   !include:/analytics-ui/charts/timeline/timeline.yaml

       

      Note: make sure a timeline chart existing in charts folder of Definitions.

        

      Please feel free to contact me if you have any question.

      Thanks,

      Thuy To

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jlegendre Julie Legendre
                jlegendre Julie Legendre
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR