# Panel 3: Indexation # The following Notion provides an Overview and details on Workflows: https://www.notion.so/Line-Chart-User-Input-Forms-16fcae16861d80369c88c6a8a56c5ae6?pvs=4#175cae16861d8021b82dd92766269cc8

- scroller:
    name: "sharePricePerformanceLineChartIndexation"
    title: "Select Chart Starting Point"
    content:
#      - divider:
#          name: indexationChart
#          title: Select Chart Starting Point
#          type: primary

      - imageHeader:
          name: imageHeader
          image: /assets/line_chart/Index.png
          text: >
            <p><b><u>Inputs:</u></b> Percentage Change Chart</p>

      - text:
          name: indexationStartingPointQuestion
          text: >
            <p>The chart line values over time will be calculated as a percentage change of their individual share price performance. But all lines will have the same starting point. You can choose the starting point to be either 1) a specific company share price in your chart (such as the primary company in your line chart) or 2) a random value starting point (such as 100)</p>
      - radio:
          name: indexStartingPoint
          dataIndex: indexStartingPoint
          title:
          options:
            - Company Share Price
            - Value
      # Workflow AN1. The response to the above indexStartingPoint question determines the YAML that comes below.
      - Container:

      - anchor:
          name: indexationHideShow
          # this anchor (indexationHideShow) ref to the code in the file "CompanySharePrice.yml" and "Value.yml"


      # Workflow NN1. The back button takes the user to the prior Panel
      - aligner:
          align: right
          width: auto
          content:
            - button:
                name: backBtn
                type: default
                title: Back
            # Workflow NN2.
            - button:
                name: nextBtn
                type: primary
                title: Next
            # Workflow NN1. The cancel button closes the dialog box
            - button:
                name: btnCancel
                type: default
                title: Cancel
