o1webdawg
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by o1webdawg
-
-
Thank you very much. That got rid of the error.
However, instead of a bar chart I got a line chart.
This is what I have now:
var chart = new cfx.Chart();
chart.create("<%=DivName%>")
chart1.setGallery(cfx.Gallery.Bar);
chart1.getAllSeries().getPointLabels().setVisible(true);Why does this look entirely different without jQueryUI? I expected it may not look exactly the same, but I thought it would at least be a bar chart.
-
Hi Everyone,
Our developers created all of our charts using the jQuery UI syntax.
We are switching our UI framework and now I need to fix all of the broken charts to make them work without jQuery UI.
We are still using jQuery, but just not the UI.
I am having a very hard time figuring out what part of our javascript is specific to jQuery UI.
Can someone tell me how to re-write the following chart code to remove the parts relying on jQuery UI?
$("#divname").chart({
gallery: cfx.Gallery.Bar,
titles: [{ text: "Monthly Sales - 2014"}],
dataValues: monthlylist,
axisY : {
dataFormat: {
format: cfx.AxisFormat.Currency
},
labelsFormat: {
format: cfx.AxisFormat.Currency
}
},
animations: {
load: {
enabled: true
}
}
});
Removing jQueryUI
in General Questions
Posted
Hi Juan,
Thanks for all of your help. I should have noticed the variable was chart1.
I fixed that and added all the same options... and it works well!