I am using the Javascript version in order to create a Pareto Diagram but I am having some problems with a few things. First off, how do I get the percentages to show up on chart at the symbols like the .NET version. I am also having trouble rotating the x axis labels even though i am passing the JSON to do that. Also the x axis title will not change with the JSON either.
Here is my JSON:
{
"StaticProperties": {
"Canvas": {
"Width": 1900,
"Height": 900
}
},
"ParetoChart": {
"ChartSetup": {
"XAxisLabels": {
"TextColor": "BLACK",
"Rotation": 90,
"OverlapLabelMode": "OVERLAP_LABEL_DRAW"
},
"XAxisTitle": {
"TextColor": "BLACK",
"Text": "Product"
},
"BarPlot": {
"LineColor": "BLACK",
"BarColor": "LIGHTBLUE"
},
"LineMarkerPlot": {
"LineColor": "LIGHTGREEN",
"SymbolFillColor": "ALICEBLUE",
"SymbolLineColor": "ALICEBLUE",
"SymbolColor": "RED"
}
},
"ParetoChartData": {
"CategoryItems": [
664.7662,
107.097,
347.197
],
"CategoryStrings": [
"Falling\r\n001 Hog",
"Rearing\r\n001 Hog",
"Slipping\r\n001 Hog"
]
},
"Methods": {
"RebuildAndDraw": true
}
}
}
Thanks!