Created
January 23, 2018 17:13
-
-
Save snmslavk/a7ed6e47227f50ada80c41487a8e52b9 to your computer and use it in GitHub Desktop.
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
public ChartObject ReturnTestData() | |
{ | |
return new ChartObject | |
{ | |
data = new Data | |
{ | |
content = new List<Content> {new Content {segment = "ea", key = "1", visits = 192}}, | |
localization = new Localization | |
{ | |
fields = new List<Field> | |
{ | |
new Field | |
{ | |
field = "key", | |
translations = new Dictionary<string, string> {{"1", "TestVote"}} | |
}, | |
new Field | |
{ | |
field = "segment", | |
translations = new Dictionary<string, string> {{"ea", "all votes"}} | |
} | |
} | |
} | |
} | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment