Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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