var items = [{"Count": 7, "Event": "Unexpected Loss of a Limb or a Function"},{ "Count": 2, "Event": "Major Medication Error Leading to Death or Major Morbidity"},{ "Count": 2, "Event": "Hemolytic Blood Transfusion Reaction"},{ "Count": 1, "Event": "Infant Discharged to Wrong Family"}];
$("div", ".Eventsenglish").chart({
gallery: cfx.Gallery.Bar,
dataValues: items,
allSeries: {
pointLabels: {
visible: true,
backgroundVisible: true,
format: "%v / %p%%"
}
},
LegendBox: {
visible: false
//dock: cfx.DockArea.Bottom
},
titles: [{
text: "Sentinel Events Frequency"
}]
});
});
Output is a nice figure, how can I have a table out of the same data inside a LegendBox within the figure
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
rolf
I am using the following jquery script code:
$(document).ready(function ($) {
var items = [{"Count": 7, "Event": "Unexpected Loss of a Limb or a Function"},{ "Count": 2, "Event": "Major Medication Error Leading to Death or Major Morbidity"},{ "Count": 2, "Event": "Hemolytic Blood Transfusion Reaction"},{ "Count": 1, "Event": "Infant Discharged to Wrong Family"}];
$("div", ".Eventsenglish").chart({
gallery: cfx.Gallery.Bar,
dataValues: items,
allSeries: {
pointLabels: {
visible: true,
backgroundVisible: true,
format: "%v / %p%%"
}
},
LegendBox: {
visible: false
//dock: cfx.DockArea.Bottom
},
titles: [{
text: "Sentinel Events Frequency"
}]
});
});
Output is a nice figure, how can I have a table out of the same data inside a LegendBox within the figure
Thanks
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.