Using Code - GiantLuigi4/StylesPlusPlus GitHub Wiki

		Style style = Style.EMPTY.withBold(false);
		WavyStyle wavyStyle = new WavyStyle(1, 1, 3, 1, 0, 0.5, 0, 0);
		((ExtraStyleData) style).addStyle(wavyStyle);
		Text text = new LiteralText("Test")setStyle(style);

What this will do, is it will create a new Style (using withBold to copy EMPTY), create a WavyStyle and set the tick multiplier to 3 on x, 1 on y, and add that WavyStyle to the Style

It also offsets the start time of the y axis so that it looks a bit better