Hi,I am trying to draw a scatterplot between two lists. As I am doing scatter plots for the first time, for now, I have kept the both lists the same variable so that I can see a more of less 45 degree straight line. But, I get an error :- java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
Here is the codechart "DataScatter" type:scatter{data "people" value:(list(road) collect each.ADT) color: °red line_visible:false;data "goods" value:(list(road) collect each.ADT) color: °green line_visible:false;}Road is a species and has a float variable ADT. ADT is calculated in a global reflex. I do not understand why is it out of bounds.please guide, thanksSrirama
--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.
Well, you should have a look at the IValidator interface and how it can be used (and how it is actually used) in such cases (basically, your data statement description can gather the enclosing description -- chart --, verify its type -- getFacets().get(...) -- and verify the type of the value of its own facet value: