NOTE:When there are no registered visualisation clients, this predicate succeeds with any arguments, and has no effect.
This predicate works exactly the same as
viewable_create/3 except that you have the added
ability to set location names (e.g. row/column names). The
LocNamesList argument should be a list as long as the
number of dimensions in the viewable. The ith element
LocNames of LocNamesList should be a list whose
length is equal to the size of the ith dimension of the new
viewable. The jth element of LocNames should be a ground
string and this will become the name of the jth location of the
ith dimension.
For a more detailed description of creating viewables, refer to the
documentation for viewable_create/3.
To create a 2 x 3 viewable, you could do:
viewable_create(v1, [[A,B,C], [D,E,F]],
array([fixed, fixed], any),
[["foo", "bar"], ["tom", "dick", "harry"]]).
This would have two rows (named "foo" and "bar") each with three
columns (named "tom", "dick" and "harry").