Created
April 2, 2019 09:36
-
-
Save miguelramos/cc6ecadccaa8c5e1bc1923cb42c7ea4b to your computer and use it in GitHub Desktop.
Kendo Chart Response
This file contains hidden or 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
{[ | |
{ | |
type: 'line', | |
legend: false, | |
fullWidth: false, | |
expandable: true, | |
options: { | |
gap: 2, | |
spacing: '0.25' | |
}, | |
seriesColors: [], | |
title: 'TOTAL DE VENDAS (VALOR)', | |
projections: [ | |
{ | |
title: 'OBJECTIVO', | |
info: '21.957.913,68' | |
}, | |
{ | |
title: 'PROJEÇÃO', | |
info: '24.397.681,87' | |
}, | |
{ | |
title: 'REVISÃO', | |
info: '26.837.450,06' | |
} | |
], | |
data: [ | |
{ | |
serie: [ | |
{ category: 'Janeiro', value: 120, categoryID: 1 }, | |
{ category: 'Janeiro', value: 276, categoryID: 1 }, | |
{ category: 'Janeiro', value: 357, categoryID: 1 }, | |
{ category: 'Fevereiro', value: 240, categoryID: 2 }, | |
{ category: 'Fevereiro', value: 90, categoryID: 2 } | |
], | |
tooltip: 'Objective' | |
}, | |
{ | |
serie: [ | |
{ category: 'Janeiro', value: 45, categoryID: 1 }, | |
{ category: 'Janeiro', value: 678, categoryID: 1 }, | |
{ category: 'Janeiro', value: 234, categoryID: 1 }, | |
{ category: 'Fevereiro', value: 456, categoryID: 2 }, | |
{ category: 'Fevereiro', value: 123, categoryID: 2 } | |
], | |
tooltip: 'Projecção' | |
}, | |
{ | |
serie: [ | |
{ category: 'Janeiro', value: 634, categoryID: 1 }, | |
{ category: 'Janeiro', value: 413, categoryID: 1 }, | |
{ category: 'Janeiro', value: 265, categoryID: 1 }, | |
{ category: 'Fevereiro', value: 389, categoryID: 2 }, | |
{ category: 'Fevereiro', value: 23, categoryID: 2 } | |
], | |
tooltip: 'Revisão' | |
} | |
] | |
}, | |
{ | |
type: 'column', | |
legend: false, | |
fullWidth: false, | |
expandable: true, | |
options: { | |
gap: 2, | |
spacing: '0.25' | |
}, | |
seriesColors: [], | |
title: 'TOTAL DE VENDAS (QUANTIDADE)', | |
projections: [ | |
{ | |
title: 'OBJECTIVO', | |
info: '21.957.913,68' | |
}, | |
{ | |
title: 'PROJEÇÃO', | |
info: '24.397.681,87' | |
}, | |
{ | |
title: 'REVISÃO', | |
info: '26.837.450,06' | |
} | |
], | |
data: [ | |
{ | |
serie: [ | |
{ category: 'Janeiro', value: 120, categoryID: 1 }, | |
{ category: 'Fevereiro', value: 276, categoryID: 2 }, | |
{ category: 'Março', value: 357, categoryID: 3 }, | |
{ category: 'Abril', value: 240, categoryID: 4 }, | |
{ category: 'Maio', value: 90, categoryID: 5 } | |
], | |
tooltip: 'Objective' | |
}, | |
{ | |
serie: [ | |
{ category: 'Janeiro', value: 45, categoryID: 1 }, | |
{ category: 'Fevereiro', value: 678, categoryID: 2 }, | |
{ category: 'Março', value: 234, categoryID: 3 }, | |
{ category: 'Abril', value: 456, categoryID: 4 }, | |
{ category: 'Maio', value: 123, categoryID: 5 } | |
], | |
tooltip: 'Projecção' | |
}, | |
{ | |
serie: [ | |
{ category: 'Janeiro', value: 634, categoryID: 1 }, | |
{ category: 'Fevereiro', value: 413, categoryID: 2 }, | |
{ category: 'Março', value: 265, categoryID: 3 }, | |
{ category: 'Abril', value: 389, categoryID: 4 }, | |
{ category: 'Maio', value: 23, categoryID: 5 } | |
], | |
tooltip: 'Revisão' | |
} | |
] | |
}, | |
{ | |
type: 'bar', | |
legend: false, | |
fullWidth: true, | |
expandable: false, | |
options: { | |
gap: 2, | |
spacing: '0.25' | |
}, | |
seriesColors: [], | |
title: 'VENDAS POR GRUPO DE ZONAS (VALOR)', | |
projections: [], | |
data: [ | |
{ | |
serie: [ | |
{ category: 'Araçatuba', value: 120, categoryID: 1 }, | |
{ category: 'Aracajú', value: 276, categoryID: 2 }, | |
{ category: 'Barra', value: 357, categoryID: 3 }, | |
{ category: 'Bauru', value: 240, categoryID: 4 } | |
], | |
tooltip: 'Zona' | |
}, | |
{ | |
serie: [ | |
{ category: 'Araçatuba', value: 45, categoryID: 1 }, | |
{ category: 'Aracajú', value: 678, categoryID: 2 }, | |
{ category: 'Barra', value: 234, categoryID: 3 }, | |
{ category: 'Bauru', value: 456, categoryID: 4 } | |
], | |
tooltip: 'Zona' | |
}, | |
{ | |
serie: [ | |
{ category: 'Araçatuba', value: 634, categoryID: 1 }, | |
{ category: 'Aracajú', value: 413, categoryID: 2 }, | |
{ category: 'Barra', value: 265, categoryID: 3 }, | |
{ category: 'Bauru', value: 389, categoryID: 4 } | |
], | |
tooltip: 'Zona' | |
} | |
] | |
}, | |
{ | |
type: 'pie', | |
fullWidth: true, | |
expandable: false, | |
options: { | |
gap: 2, | |
spacing: '0.25' | |
}, | |
seriesColors: [], | |
title: 'CONTRIBUIÇÃO DE SUBCATEGORIA DA BAIXADA EM FUNÇÃO DO OBJETIVO', | |
projections: [], | |
legend: true, | |
data: [ | |
{ | |
serie: [ | |
{ category: 'Agua Tonica', value: 120, categoryID: 1 }, | |
{ | |
category: 'Refri Citrus/tutti F Lt Ate 350ml', | |
value: 276, | |
categoryID: 2 | |
}, | |
{ | |
category: 'Refri Citrus/tutti F Pet > 1l', | |
value: 357, | |
categoryID: 3 | |
}, | |
{ | |
category: 'Refri Citrus/tutti F Pet Ate 1l', | |
value: 240, | |
categoryID: 4 | |
}, | |
{ category: 'Refri Cola Lt Ate 350ml', value: 456, categoryID: 4 }, | |
{ category: 'Refri Cola Pet > 2l', value: 345, categoryID: 4 }, | |
{ category: 'Refri Cola Pet Ate 2l', value: 129, categoryID: 4 }, | |
{ category: 'Refri Cola Pet Ate 350ml', value: 512, categoryID: 4 } | |
], | |
tooltip: 'Objectivo' | |
} | |
] | |
} | |
]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment