{
  "schema_version": "1.0.0",
  "metadata": {
    "polymer": {
      "behaviors": [
        {
          "description": "`window.MaterialProgressBehavior` is the base behavior for all `material-progress`\nelements.",
          "summary": "",
          "path": "lib/material-progress-behavior.js",
          "properties": [
            {
              "name": "barHeight",
              "type": "number | null | undefined",
              "description": "Height of the bar and bars, in pixels.",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 13,
                  "column": 4
                },
                "end": {
                  "line": 17,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "observer": "\"_refresh\"",
                  "attributeType": "Number"
                }
              },
              "defaultValue": "22"
            },
            {
              "name": "animated",
              "type": "boolean | null | undefined",
              "description": "Animate when the size of a bar changes.",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 21,
                  "column": 4
                },
                "end": {
                  "line": 25,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "attributeType": "Boolean"
                }
              },
              "defaultValue": "false"
            },
            {
              "name": "legendLabel",
              "type": "string | null | undefined",
              "description": "Label to display before the legend.",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 29,
                  "column": 4
                },
                "end": {
                  "line": 33,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "observer": "\"_refresh\"",
                  "attributeType": "String"
                }
              },
              "defaultValue": "\"\""
            },
            {
              "name": "bars",
              "type": "Array | null | undefined",
              "description": "The displayed bar nodes (ie direct children with\nthe `bar` class and a `data-value` attribute).",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 38,
                  "column": 4
                },
                "end": {
                  "line": 45,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "notify": true,
                  "readOnly": true,
                  "attributeType": "Array"
                }
              }
            },
            {
              "name": "sum",
              "type": "number | null | undefined",
              "description": "Sum of all the bars' values.",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 49,
                  "column": 4
                },
                "end": {
                  "line": 55,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "notify": true,
                  "readOnly": true,
                  "attributeType": "Number"
                }
              },
              "defaultValue": "0"
            },
            {
              "name": "_legendItems",
              "type": "Array | null | undefined",
              "description": "The legend items to be displayed: Each is composed of the following\nattributes :\n- `label`: match the `data-legend` attribute of the corresponding bar.\n- `color`: match the css `background-color` of the corresponding bar.",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 62,
                  "column": 4
                },
                "end": {
                  "line": 68,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "readOnly": true,
                  "attributeType": "Array"
                }
              }
            },
            {
              "name": "_legendNeeded",
              "type": "boolean | null | undefined",
              "description": "Indicates if the legend needs to be displayed.",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 72,
                  "column": 4
                },
                "end": {
                  "line": 77,
                  "column": 5
                }
              },
              "metadata": {
                "polymer": {
                  "readOnly": true,
                  "attributeType": "Boolean"
                }
              },
              "defaultValue": "false"
            }
          ],
          "methods": [
            {
              "name": "refresh",
              "description": "Refresh the element.",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 87,
                  "column": 2
                },
                "end": {
                  "line": 155,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [],
              "return": {
                "type": "void"
              }
            },
            {
              "name": "ready",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 156,
                  "column": 2
                },
                "end": {
                  "line": 185,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [],
              "return": {
                "type": "void"
              }
            },
            {
              "name": "connectedCallback",
              "description": "",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 186,
                  "column": 2
                },
                "end": {
                  "line": 190,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [],
              "return": {
                "type": "void"
              }
            },
            {
              "name": "_refresh",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 191,
                  "column": 2
                },
                "end": {
                  "line": 193,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [],
              "return": {
                "type": "void"
              }
            },
            {
              "name": "getDistributedNodes",
              "description": "",
              "privacy": "public",
              "sourceRange": {
                "start": {
                  "line": 194,
                  "column": 2
                },
                "end": {
                  "line": 198,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [
                {
                  "name": "node"
                }
              ]
            },
            {
              "name": "_computeSumAndBars",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 199,
                  "column": 2
                },
                "end": {
                  "line": 228,
                  "column": 3
                }
              },
              "metadata": {},
              "params": []
            },
            {
              "name": "_getBarMeta",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 229,
                  "column": 2
                },
                "end": {
                  "line": 239,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [
                {
                  "name": "bar"
                }
              ]
            },
            {
              "name": "_getWidthForBar",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 240,
                  "column": 2
                },
                "end": {
                  "line": 243,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [
                {
                  "name": "barValue"
                },
                {
                  "name": "barValuesSum"
                },
                {
                  "name": "maxBarValue"
                },
                {
                  "name": "barHeight"
                }
              ]
            },
            {
              "name": "_playFirstAnimation",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 244,
                  "column": 2
                },
                "end": {
                  "line": 251,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [
                {
                  "name": "node"
                },
                {
                  "name": "index"
                },
                {
                  "name": "animationDelay"
                }
              ],
              "return": {
                "type": "void"
              }
            },
            {
              "name": "_computeLegendNeeded",
              "description": "",
              "privacy": "protected",
              "sourceRange": {
                "start": {
                  "line": 252,
                  "column": 2
                },
                "end": {
                  "line": 254,
                  "column": 3
                }
              },
              "metadata": {},
              "params": [
                {
                  "name": "legendItems"
                }
              ]
            }
          ],
          "staticMethods": [],
          "demos": [],
          "metadata": {},
          "sourceRange": {
            "start": {
              "line": 8,
              "column": 0
            },
            "end": {
              "line": 255,
              "column": 2
            }
          },
          "privacy": "public",
          "name": "window.MaterialProgressBehavior",
          "attributes": [
            {
              "name": "bar-height",
              "description": "Height of the bar and bars, in pixels.",
              "sourceRange": {
                "start": {
                  "line": 13,
                  "column": 4
                },
                "end": {
                  "line": 17,
                  "column": 5
                }
              },
              "metadata": {},
              "type": "number | null | undefined"
            },
            {
              "name": "animated",
              "description": "Animate when the size of a bar changes.",
              "sourceRange": {
                "start": {
                  "line": 21,
                  "column": 4
                },
                "end": {
                  "line": 25,
                  "column": 5
                }
              },
              "metadata": {},
              "type": "boolean | null | undefined"
            },
            {
              "name": "legend-label",
              "description": "Label to display before the legend.",
              "sourceRange": {
                "start": {
                  "line": 29,
                  "column": 4
                },
                "end": {
                  "line": 33,
                  "column": 5
                }
              },
              "metadata": {},
              "type": "string | null | undefined"
            },
            {
              "name": "bars",
              "description": "The displayed bar nodes (ie direct children with\nthe `bar` class and a `data-value` attribute).",
              "sourceRange": {
                "start": {
                  "line": 38,
                  "column": 4
                },
                "end": {
                  "line": 45,
                  "column": 5
                }
              },
              "metadata": {},
              "type": "Array | null | undefined"
            },
            {
              "name": "sum",
              "description": "Sum of all the bars' values.",
              "sourceRange": {
                "start": {
                  "line": 49,
                  "column": 4
                },
                "end": {
                  "line": 55,
                  "column": 5
                }
              },
              "metadata": {},
              "type": "number | null | undefined"
            }
          ],
          "events": [
            {
              "type": "CustomEvent",
              "name": "bars-changed",
              "description": "Fired when the `bars` property changes.",
              "metadata": {}
            },
            {
              "type": "CustomEvent",
              "name": "sum-changed",
              "description": "Fired when the `sum` property changes.",
              "metadata": {}
            }
          ],
          "styling": {
            "cssVariables": [],
            "selectors": []
          },
          "slots": []
        }
      ]
    }
  },
  "classes": [
    {
      "description": "",
      "summary": "",
      "path": "lib/material-progress-bars.js",
      "properties": [],
      "methods": [
        {
          "name": "_getWidthForBar",
          "description": "",
          "privacy": "protected",
          "sourceRange": {
            "start": {
              "line": 69,
              "column": 2
            },
            "end": {
              "line": 76,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "barValue"
            },
            {
              "name": "barValuesSum"
            },
            {
              "name": "maxBarValue"
            },
            {
              "name": "barHeight"
            }
          ]
        }
      ],
      "staticMethods": [],
      "demos": [],
      "metadata": {},
      "sourceRange": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 77,
          "column": 1
        }
      },
      "privacy": "public",
      "name": "MaterialProgressBars"
    },
    {
      "description": "",
      "summary": "",
      "path": "lib/material-progress-histo.js",
      "properties": [],
      "methods": [
        {
          "name": "_getWidthForBar",
          "description": "",
          "privacy": "protected",
          "sourceRange": {
            "start": {
              "line": 61,
              "column": 2
            },
            "end": {
              "line": 67,
              "column": 3
            }
          },
          "metadata": {},
          "params": [
            {
              "name": "barValue"
            },
            {
              "name": "barValuesSum"
            },
            {
              "name": "maxBarValue"
            },
            {
              "name": "barHeight"
            }
          ]
        }
      ],
      "staticMethods": [],
      "demos": [],
      "metadata": {},
      "sourceRange": {
        "start": {
          "line": 3,
          "column": 0
        },
        "end": {
          "line": 68,
          "column": 1
        }
      },
      "privacy": "public",
      "name": "MaterialProgressHisto"
    }
  ]
}
