The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
When I attempt to display a secondary axis, only the axis title is displayed. If I maually remove the axis from the chart and add it back it displays only 0 and the max value as the major grids. For now I've had to comment out the axis from the code.
Dim rngCategory As IRange = wks.Range(2, 1, wks.Rows.Length, 1) Dim insideValues As IRange = wks.Range(2, 3, wks.Rows.Length, 3) Dim outsideValues As IRange = wks.Range(2, 5, wks.Rows.Length, 5) Dim differenceValues As IRange = wks.Range(2, 6, wks.Rows.Length, 6)
Dim chart As IChart = workBook.Charts.Add(chartSheetName) chart.ChartType = ExcelChartType.Scatter_Line_Markers chart.ChartTitle = chartTitle chart.IsSeriesInRows = True
With chart.ChartTitleArea .FontName = "Arial" .Bold = True .Size = 12 End With
'I fricking give up. No matter what I do I can't get the secondary axis to display. 'With chart.SecondaryValueAxis '.Title = "Feet" '.TitleArea.FontName = "Arial" '.TitleArea.Bold = True '.TitleArea.Size = 8 '.TitleArea.TextRotationAngle = 90 '.Font.Size = 8 '.HasMajorGridLines = True '.HasMinorGridLines = False '.IsAutoCross = True '.MinimumValue = 0 '.MaximumValue = 10 '.MajorUnit = 0.5 '.MinorUnit = 0.5 '.CrossValue = 0 'End With