1. When I use rangeselector option within the chart, if I select a range with range selector and then I change data, even if I delete rangeselector and I create a new one, it ramain with the same interval selected and I cannot reset this range. So I have to destroy chart and create new one to resolve the problem.
2. I’m using datetime labels on XAxis, your default format is with two lines but you use a format too long for me so I need to change it. I created format function and it works properly but I can’t write two lines. I tried also with ‘/n’ or ‘</br>’ but the label remain on one line, so my format becomes longer than yours.
If I understand you correctly then I think this forum topic where we have a similar discussion will be helpful:
About the second question it should happen with a
Please, take a look at this demo:
I read that post for reset of range selector but the only post that works is that with
chart.source = sampleData1;
but _selectorRange doens’t exist in my jqxChart version!
I would like to ask you for more details if the example below does not help you:
You do not need to manipulate the internal properties of the jqxChart.
If you want to set a new value for the
rangeSelectoroption or to reset it then you should set the specific
Yes range selector change min and max with update but the selection inside this interval is not cleared but it remains to the old range.
Example works only the first time, if you change zoom and update again the range selector not reset but stay in the last
selection range you made before.
I tested this example (again with small changes) and it seems to work fine:
There is a lot of information that is rendered and it needs time to visualize it.
Could you provide us with one simplified example that demonstrates your case?
also your example have same problem of mine, it works the first time, try to drag the range selector and try to press
update1 or update2 you will see that range selector doensn’t reset anymore but stay in the same old interval.
You must be logged in to reply to this topic.