Unplanned
Last Updated: 19 Nov 2024 16:27 by ADMIN

Currently, the chart is generated considering the format applied to the cells. Thus, when the decimal part is clipped, duplicated values may occur and the developer doesn't have the option to update it:

This is the code:

            Workbook workbook = new Workbook();
            Worksheet worksheet = workbook.Worksheets.Add();

            List<string> categories = new List<string> { "New", "In Progress", "Ready for Test", "Done", "Declined" };
            worksheet.Cells[0, 0].SetValue("New");
            worksheet.Cells[0, 1].SetValue(1);
            worksheet.Cells[0, 2].SetValue(2.5);
            worksheet.Cells[1, 0].SetValue("In Progress");
            worksheet.Cells[1, 1].SetValue(2.8);
            worksheet.Cells[1, 2].SetValue(0);
            worksheet.Cells[2, 0].SetValue("Ready for Test");
            worksheet.Cells[2, 1].SetValue(2);
            worksheet.Cells[2, 2].SetValue(1);
            worksheet.Cells[3, 0].SetValue("Done");
            worksheet.Cells[3, 1].SetValue(1.4);
            worksheet.Cells[3, 2].SetValue(0);
            worksheet.Cells[4, 0].SetValue("Declined");
            worksheet.Cells[4, 1].SetValue(3);
            worksheet.Cells[4, 2].SetValue(0);

            

            FloatingChartShape chartShape = new FloatingChartShape(worksheet, new CellIndex(5, 5), new CellRange(0, 0, 4, 2),ChartType.Column)
            {
                Width = 400,
                Height = 250
            };

            worksheet.Charts.Add(chartShape);

            CellSelection cellSelection = worksheet.Cells[new CellIndex(0, 1), new CellIndex(4, 2)];
            CellValueFormat specialFormat = new CellValueFormat("0");
            cellSelection.SetFormat(specialFormat);

            string outputFilePath = "SampleFile.xlsx";

            Telerik.Windows.Documents.Spreadsheet.FormatProviders.IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();

            using (Stream output = new FileStream(outputFilePath, FileMode.Create))
            {
                formatProvider.Export(workbook, output);
            }
            Process.Start(new ProcessStartInfo() { FileName = outputFilePath, UseShellExecute = true });

The requires options are setting the major/minor units for the axis:

Unplanned
Last Updated: 07 Nov 2024 11:51 by ADMIN
Formula evaluation causes an endless loop when importing a specific file
Unplanned
Last Updated: 05 Nov 2024 14:04 by Michael

ArgumentNullException is thrown when importing a document containing a rule with no set format.

Unplanned
Last Updated: 04 Nov 2024 19:40 by Bradley
ADMIN
Created by: Deyan
Comments: 9
Category: SpreadProcessing
Type: Feature Request
61
Add support for creating Tables and applying tables styles (predefined ones or custom).
Unplanned
Last Updated: 28 Oct 2024 13:41 by Abdulmannan
Created by: Abdulmannan
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0
Unplanned
Last Updated: 28 Oct 2024 13:28 by Abdulmannan
Created by: Abdulmannan
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0

Error bars in charts you create can help you see margins of error and standard deviations at a glance. They can be shown on all data points or data markers in a data series as a standard error amount, a percentage, or a standard deviation. You can set your own values to display the exact error amounts you want. 

https://support.microsoft.com/en-us/office/add-change-or-remove-error-bars-in-a-chart-e6d12c87-8533-4cd6-a3f5-864049a145f0 

Unplanned
Last Updated: 08 Oct 2024 12:43 by ADMIN
Created by: DARS
Comments: 2
Category: SpreadProcessing
Type: Feature Request
0
At this point XLS import of SpreadProcessing does not have support for notes/comments.
Unplanned
Last Updated: 11 Sep 2024 08:08 by Gowrisankar
Created by: Gowrisankar
Comments: 0
Category: SpreadProcessing
Type: Feature Request
5
Introduce thread-safe processing.
Unplanned
Last Updated: 27 Aug 2024 08:33 by Waldemar
Unplanned
Last Updated: 19 Aug 2024 12:36 by Waldemar
Add API for obtaining a collection of values from CellSelection.
Unplanned
Last Updated: 16 Aug 2024 08:47 by Shailaja

Add support for "Invert if negative" property of chart data series fill.

Unplanned
Last Updated: 08 Aug 2024 09:07 by ADMIN
The AutoFitWidth functionality does not take into account the filtering button.
Unplanned
Last Updated: 05 Aug 2024 08:26 by McDavid

In Excel this can be achieved by right click on the axis, then from the context menu select "Format Axis".  Go to the "Text Options" tab and "Text Box" group and then in the "Custom angle" field insert the desired value.

Unplanned
Last Updated: 29 Jul 2024 10:58 by Divya
XlsFormatProvider: Handle import of documents with null format strings.
Unplanned
Last Updated: 23 Jul 2024 08:28 by Valery

Optimize font fallback mechanism.

Currently, in NET Standard, if no fonts are provided on PDF export, while resolving the fonts the application falls back to different fonts multiple times for each cell which causes a decrease in performance.

Unplanned
Last Updated: 22 Jul 2024 15:56 by ADMIN

Exception "Format string is not in the correct format" is thrown when importing a file with the following format string: "US$"#,##0.0"m";($#,##0.0)

The exception is thrown in the ValidateDateTimeFormatDescriptor method. 

Unplanned
Last Updated: 17 Jul 2024 13:13 by Matthias
When the Normal style is modified (e.g. the IsWrapped property is set to true and now all cells have default text wrap set) and some individual cells have local values set that are the default ones (e.g. some cells are now set to NOT be wrapped), when the file is imported and then exported, the local values will be lost.
Unplanned
Last Updated: 25 Jun 2024 07:47 by Rob Vest
Created by: Rob Vest
Comments: 0
Category: SpreadProcessing
Type: Feature Request
0
Add support for Radar charts.
Unplanned
Last Updated: 14 Jun 2024 08:50 by ADMIN
With the current implementation, references like in the following expression cannot be evaluated and are treated as strings:
=SUM('C:\Users\Your user name\Desktop\[Workbook_1.xlsx]Sheet1'!A1:B2)
1 2 3 4 5 6