Add better handling of fields

Issue #28 closed
Daniel Marsh-Patrick repo owner created an issue

In #9 we had to change the data view mappings and relax the rules a bit. Subsequently, this will still try and render the chart for any combination of fields. Need to allow the following combinations only:

  • Category, Sampling and Value
  • Sampling and Value

All others should be rejected. We should also provide some help in the viewport if this occurs so that the user can understand what they need to do to get started.

Comments (3)

  1. Daniel Marsh-Patrick reporter

    #28: Reworked DOM to allow additional of an 'info' box if required fields are missing, and prevent the chart render from going ahead. This should help us when we get to #33 also. Resolves #28.

    → <<cset 64b604fa739e>>

  2. Log in to comment