In-graph labels

Share RGraph:   

This page shows the various options for in-graph labels. The in-graph labels can be set like this:

obj.set({
    labelsIngraph: [,,'Hoolio',,'Olga']
});

Or like this if you want to be more specific:

obj.set({
    labelsIngraph: [,,['Hoolio', 'red', 'yellow', -1, 60],,'Olga']
});

The array can consist of:

Example line chart

[No canvas support]

Example bar chart

[No canvas support] [No canvas support]

Example bar chart (dot variant)

[No canvas support]

Comments

Add a new comment...