fpspreadsheet: Fix charts dash patterns in ods writer

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8979 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2023-10-26 09:10:41 +00:00
parent b00a15e563
commit d9d81e71d8

View File

@ -78,13 +78,16 @@ begin
ch.YAxis.CaptionFont.Size := 12; ch.YAxis.CaptionFont.Size := 12;
ch.YAxis.LabelRotation := 90; ch.YAxis.LabelRotation := 90;
ch.YAxis.CaptionRotation := 90; ch.YAxis.CaptionRotation := 90;
ch.YAxis.MajorGridLines.Style := clsLongDash; //clsSolid;
ch.YAxis.MinorGridLines.Style := clsLongDashDot; //Dash; //clsSolid;
ch.YAxis.MajorGridLines.Color := scBlue; ch.YAxis.MajorGridLines.Color := scBlue;
ch.YAxis.MajorGridLines.Width := 1; // mm ch.YAxis.MajorGridLines.Style := clsLongDash; //clsSolid;
ch.YAxis.MajorGridLines.Width := 0.5; // mm
// ch.YAxis.MinorGridLines.Style := clsLongDashDot; //Dash; //clsSolid;
ch.Title.Caption := 'HALLO'; ch.Title.Caption := 'HALLO';
ch.Title.Visible := true; ch.Title.Visible := true;
ch.Title.Font.Color := scMagenta;
ch.Title.Font.Size := 20;
ch.Title.Font.Style := [fssBold];
ch.SubTitle.Caption := 'hallo'; ch.SubTitle.Caption := 'hallo';
ch.SubTitle.Visible := true; ch.SubTitle.Visible := true;
@ -121,6 +124,7 @@ begin
ser.SetTitleAddr(0, 2); ser.SetTitleAddr(0, 2);
ser.SetLabelRange(1, 0, 7, 0); ser.SetLabelRange(1, 0, 7, 0);
ser.SetYRange(1, 2, 7, 2); ser.SetYRange(1, 2, 7, 2);
ch.Border.Style := clsNoLine;
ch.Title.Caption := 'HALLO'; ch.Title.Caption := 'HALLO';
ch.Title.Visible := true; ch.Title.Visible := true;
ch.SubTitle.Caption := 'hallo'; ch.SubTitle.Caption := 'hallo';