Created
June 4, 2013 00:17
-
-
Save sdesai/5702618 to your computer and use it in GitHub Desktop.
Charts/Attribute, dataProvider, seriesKeys order of operation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 3.10.0 | |
dataProvider | |
- addAttr(dataProvider) | |
- setter(dataProvider) | |
- seriesKeysExplicitlySet === undefined | |
- set(seriesKeys, parsedFromDataProvider) | |
- set AD-HOC (not added yet) | |
- set value = parsedFromDataProvider | |
- fireAttrChange(seriesKeys) | |
- defaultFn | |
- get(seriesKeys) | |
- add-out-of_order | |
- addAttr(seriesKeys, initValue) | |
- set(seriesKeys) | |
- setAttrVal | |
- setter(seriesKeys) | |
- seriesKeysExplicitlySet = true | |
- store initValue | |
- get returns initValue | |
END RESULT: | |
* stored value = initValue | |
* seriesKeysExplicitlySet = true | |
# With https://github.com/yui/yui3/pull/781 | |
dataProvider | |
- addAttr(dataProvider) | |
- setter(dataProvider) | |
- seriesKeysExplicitlySet === undefined | |
- set(seriesKeys, parsedFromDataProvider) | |
- add-out-of-order | |
- addAttr(seriesKeys, initValue) | |
- set(seriesKeys) | |
- setAttrVal | |
- setter(seriesKeys) | |
- seriesKeysExplicitlySet = true | |
- store initValue | |
- continue with set value = parsedFromDataProvider | |
END RESULT: | |
* stored value = parsedFromDataProvider | |
* seriesKeysExplicitlySet = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment