Marketing has specific design in mind for my bullet chart. I'm using a vertical Bullet Chart. I want Labels on the top like the Bar Graph. Oh did I mention I'm using ICENUM to do the bullet chart on the phone.
I've tried to add the labels property found in the documentation;
series: [
labels:
{
visible: true,
format: "{0}",
font: "14px Arial",
},
It's not working for me.
Here is my complete script:
$("#bar-chart").kendoChart({
theme: global.app.chartsTheme,
renderAs: "svg",
legend: {
position: "bottom"
},
seriesDefaults: {
type: "column"
},
series: [
{
type: "verticalBullet",
color: "#d87635",
currentField: "score",
targetField: "average",
labels:
{
visible: true,
format: "{0}",
font: "14px Arial",
},
target: {
color: "#444",
dashType: "dot", // I want a dotted line too. That isn't working either.
line: {
width: 1,
}
},
data: [
{
score: 93.7,
average: 65.2,
}, {
score: 80.2,
average: 22.2,
}, {
score: 60.8,
average: 35.2,
}, {
score: 82.1,
average: 45.2,
}, {
score: 74.2,
average: 55.2,
}
]
}
],
categoryAxis: {
labels: { rotation: -45 },
categories: ["Sales & Contracting", "Implementation & Training", "Functionality & Upgrades", "Service & Support", "General"],
line: {
visible: false
},
color: "#444",
axisCrossingValue: [0, 0, 100, 100]
},
tooltip: {
visible: false
}
}).data("kendoChart");
Any Help would be greatly appreciated.
I've tried to add the labels property found in the documentation;
series: [
labels:
{
visible: true,
format: "{0}",
font: "14px Arial",
},
It's not working for me.
Here is my complete script:
$("#bar-chart").kendoChart({
theme: global.app.chartsTheme,
renderAs: "svg",
legend: {
position: "bottom"
},
seriesDefaults: {
type: "column"
},
series: [
{
type: "verticalBullet",
color: "#d87635",
currentField: "score",
targetField: "average",
labels:
{
visible: true,
format: "{0}",
font: "14px Arial",
},
target: {
color: "#444",
dashType: "dot", // I want a dotted line too. That isn't working either.
line: {
width: 1,
}
},
data: [
{
score: 93.7,
average: 65.2,
}, {
score: 80.2,
average: 22.2,
}, {
score: 60.8,
average: 35.2,
}, {
score: 82.1,
average: 45.2,
}, {
score: 74.2,
average: 55.2,
}
]
}
],
categoryAxis: {
labels: { rotation: -45 },
categories: ["Sales & Contracting", "Implementation & Training", "Functionality & Upgrades", "Service & Support", "General"],
line: {
visible: false
},
color: "#444",
axisCrossingValue: [0, 0, 100, 100]
},
tooltip: {
visible: false
}
}).data("kendoChart");
Any Help would be greatly appreciated.