set axis min max value
robertcharette opened this issue · comments
robertcharette commented
In a scatter3d chart, how can you specify minimum and maximum values for each of x, y and z axis ?
Koy Zhuang commented
Hi @robertcharette , you could config the Min
and Max
in each Axis.
scatter3d := charts.NewScatter3D()
scatter3d.SetGlobalOptions(
charts.WithXAxis3DOpts(opts.XAxis3D{
Show: true,
Name: "3DXAxisWithMinAndMax",
Min: 10,
Max: 100000,
}),
)