1. 30 Oct, 2013 1 commit
  2. 29 Oct, 2013 1 commit
    • Feng Xue's avatar
      Change the input of the plugin to: · 228308de
      Feng Xue authored
      NSDchart(data, properties)
      data = {
          rowVariables: [
          {
                  "id": "demo!gor_V19",
                  "isMeasureVariable": true,
                  "name": "Time",
                  "label": "Departure time - hours",
                  "categories": [
                      {
                          "label": "Min",
                          "value": "MIN"
                      },
                      {
                          "label": "Q1",
                          "value": "Q1"
                      },
                      {
                          "label": "Median",
                          "value": "MEDIAN"
                      },
                      {
                          "label": "Q3",
                          "value": "Q3"
                      },
                      {
                          "label": "Q3",
                          "value": "Q3"
                      },
                      {
                          "label": "Max",
                          "value": "MAX"
                      }
                  ]
              }
          ],
          columnVariables: [
          {
                      "id": "demo!gor_V17",
                      "name": "Travel1",
                      "label": "Main mode of travel",
                      "categories": [
                          {
                              "label": "Car",
                              "value": "1",
                      }
                  ]
              }
          ],
          columnVariables: [
          {
                      "id": "demo!gor_V17",
                      "name": "Travel1",
                      "label": "Main mode of travel",
                      "categories": [
                          {
                              "label": "Car",
                              "value": "1",
                              "frequency": "134"
                          },
                          {
                              "label": "Train",
                              "value": "2",
                              "frequency": "100"
                          },
                          {
                              "label": "Bus",
                              "value": "3",
                              "frequency": "90"
                          },
                          {
                              "label": "Cycle",
                              "value": "4",
                          {
                              "label": "Train",
                              "value": "2",
                              "frequency": "100"
                          },
                          {
                              "label": "Bus",
                              "value": "3",
                              "frequency": "90"
                          },
                          {
                              "label": "Cycle",
                              "value": "4",
                              "frequency": "83"
                          },
                          {
                              "label": "Walk",
                              "value": "5",
                              "frequency": "93"
                          }
                      ]
                  }
          ],
          data: [1, 2, 3, 4,...],
      }
      propertise = {
          i18n: {
              percent: "String",
                          {
                              "label": "Walk",
                              "value": "5",
                              "frequency": "93"
                          }
                      ]
                  }
          ],
          data: [1, 2, 3, 4,...],
      }
      propertise = {
          i18n: {
              percent: "String",
              value: "String"
          },
          orientation: "String",
          percentages: boolean,
          stacked: boolean,
          type: "string"
      }
      
      The input will not contain missing and blacklist categories.
      
      Change the codes pattern from object-oriented to functional
      Make the codes fit to the jslint
      Change tag to 0.5.0
      228308de
  3. 23 Oct, 2013 1 commit
  4. 21 Oct, 2013 2 commits
  5. 14 Oct, 2013 3 commits
  6. 11 Oct, 2013 5 commits
  7. 10 Oct, 2013 1 commit
  8. 02 Oct, 2013 4 commits
  9. 27 Sep, 2013 6 commits
  10. 26 Sep, 2013 5 commits
  11. 18 Sep, 2013 2 commits
  12. 13 Sep, 2013 7 commits
  13. 12 Sep, 2013 2 commits