SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
Is it possible to use negative index for methods:
-(void) insertAt:(int)index X:(SCIGenericType)x Open:(SCIGenericType)open High:(SCIGenericType)high Low:(SCIGenericType)low Close:(SCIGenericType)close;
-(void) updateAt:(int)index Open:(SCIGenericType)open High:(SCIGenericType)high Low:(SCIGenericType)low Close:(SCIGenericType)close;
Can you give an answer?
Index in that functions represents order of element in array. Methods do not throw exception at the moment on attempt of writting at negative position, but we are considering adding such exceptions.
If you want to insert element before any other in array, you should do it at 0 index. You will make it the first element in array and the rest elements will move.
Updating at negative index do nothing because there are no elements with negative index.
SciChart iOS Developer
Please login first to submit.