jQuery UI Widgets Forums Chart Basic problems with the Chart component

This topic contains 4 replies, has 2 voices, and was last updated by  fernando60 9 years, 9 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • Basic problems with the Chart component #65009

    fernando60
    Participant

    Hello,
    Happy new year for all the JQWidgets’ users !
    I can’t find alone solutions for some basic problems with the chart component:
    1) I try to change the series’ color. Here is my code:
    http://jsfiddle.net/fernando60/ujnks7wh/2/
    (series in blue and violet).
    2) I would like not to show the 0 values in my different series. As I have only source I must declare values even for my missing values.
    3) Can I ask you something about JSFiddle ? In my code I tried to use in my source => url : ‘http://jqwidgets.com/jquery-widgets-demo/demos/sampledata/nasdaq_vs_sp500.txt’ and I receive an error message (“enable to send …”).

    By advance thank you.

    Fernando.

    Basic problems with the Chart component #65016

    Dimitar
    Participant

    Hello Fernando,

    1. You just need the properties linecolor and lineColorSelected applied. Remove color and fillColor and there should be no issues;
    2. Please check out the demo Line Serie with missing points to learn how to implement this functionality;
    3. This is probably due to browsers’ same-origin policy.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Basic problems with the Chart component #65032

    fernando60
    Participant

    Hello Dimitar,

    Thank you very much for your very fast answer.

    1) I have made the modifications but it doesn’t work.
    see : http://jsfiddle.net/fernando60/ujnks7wh/5/
    I think it’s a problem of colorscheme but I don’t how to solve it.

    2) With your help I’ve used emptyPointsDisplay: ‘skip’ and it works perfectly welll.

    3) I have tried the code inside http://jsfiddle.net/fernando60/ujnks7wh/5/ uncommenting the source with the url on different computers with different browsers and it doesn’t work. I must recognize it’s a JSFiddle problem !

    Best Regards.

    Fernando.

    Basic problems with the Chart component #65041

    Dimitar
    Participant

    Hi Fernando,

    1) The actual name of the property is lineColor, not linecolor.
    3) Please read the article I referred you to in my previous post. This is not an issue but the result of browser policy application.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Basic problems with the Chart component #65047

    fernando60
    Participant

    Hi Dimitar,

    1) Effectively it works better when the programer writes correctly the property’s name ! IT WORKS !!
    3) I’m gonna search by myself about my JSFiddle’s problem. IT WORKS !!

    Thank you very much for your fast and helpful answers and congratulations for your astonishing javascript library.

    Best Regards from France.

    Fernando.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.