Does anyone have an example of creating (geometric) patterns using Highmaps in React?
I'm initialising Highmaps as follows:
this.chart = new HighMaps["Map"](findDOMNode(this), options);
That works fine.
I'm attempting to import the pattern module as follows:
import * as patternFill from "highcharts/modules/pattern-fill";
Not sure if that's correct, because I'm not sure how to then "wire" the module up with Highmaps given the earlier code.
I'm basically trying to use a hatch pattern on certain countries rather than a solid colour. Highmaps is working fine---it's just the pattern stuff that has me stumped.
Aucun commentaire:
Enregistrer un commentaire