Skip to content

Tag: graph

Search in array of precise positions

I currently have a painting with 64 tiles, each color is defined. Grey is a valid position, black is an invalid position (a wall), green is player pawn 1 and red is player pawn 2. When player 1 clicks on his green pawn he can choose to duplicate himself on a valid tile close to him (Grey) or jump on

Data wrong display using @antv/g2plot.js version 2+

I have been trying to use G2plot (https://g2plot.antv.vision/) for a basic line graph. I made some tests a while ago with the 1.28 version and it was working fine. I removed some config that became obsolete and tried the latest version but the display of the graph isn’t the same and looks like something…

How to add title to each subplot in PLOTLY JS

just like in subject. I read documentation from plotly but i did not found any helpfull information. Maybe someone know how to add title to each plot in PLOTLY JS ? Answer At the moment you can,t set the subplot title directly. But you can set subplot title using annotation text. Hear is a example Annotation …