erum Posted April 27, 2013 Report Share Posted April 27, 2013 hello to everyone i m new to this ..and i m following this chart http://www.jchartfx.com/pg/# but it gives two charts (line and bar) on two data item i wanted to have bar only i.e months/parts or months/bikes ..what ammendmnet i should make in code .. Thanks Quote Link to comment Share on other sites More sharing options...
0 dfahammer Posted May 7, 2013 Report Share Posted May 7, 2013 Im just getting started with this as well and noticed the same thing. It appears that jChartFX plots are based on input data fields rather than the javascript series information. I haven't tried this but I think if you remove one of the data series you will get what you want. Something like this: var data = [ { "Month": "Jan", "Bikes": 1800}, { "Month": "Feb", "Bikes": 1760}, { "Month": "Mar", "Bikes": 1740}, { "Month": "Apr", "Bikes": 1750}, { "Month": "May", "Bikes": 1810}, { "Month": "Jun", "Bikes": 1920}]; Not a good answer but unfortunately I think that is the answer. Maybe someone else knows better. Quote Link to comment Share on other sites More sharing options...
0 erum Posted October 26, 2013 Author Report Share Posted October 26, 2013 can any one suggest mehow to bind jchartfx with json data .. on document.ready function I have two vairable for example x,y Thanks Quote Link to comment Share on other sites More sharing options...
Question
erum
hello to everyone
i m new to this ..and i m following this chart
http://www.jchartfx.com/pg/#
but it gives two charts (line and bar) on two data item
i wanted to have bar only i.e months/parts or months/bikes ..what ammendmnet i should make in code ..
Thanks
Link to comment
Share on other sites
2 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.