你能帮我如何在 JpGraph 上设置实线的权重吗?
线是用
// Create the first line
$p1 = new LinePlot($datay1);
$p1->SetStyle('solid');
$p1->SetWeight('20');
$p1->SetColor("#6495ED");
$p1->SetLegend('Line 1');
$graph->Add($p1);
使用此代码,线宽为 1。
但是如果线被定义为
$p1->SetStyle('dotted');
...线的粗细是20px。
你能告诉我我在行定义中做错了什么吗?我需要更粗的实线...
先感谢您!