![]() | Steema Issues DatabaseNote: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;otherwise you can use StackOverflow. Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy. |
|
Description
Deepak Verma
2016-12-21 08:45:27 EST
Created attachment 681 [details]
ScreenShot-Charts Rendering before and after update dll version
Created attachment 682 [details]
screen shot properties
Hello Deepak, Please be aware that this issue tracker is not for technical support. For technical support, please post your issues to http://support.steema.com. In the case of problems with upgrading TeeChart.dll from a version which is over ten years old, could you please be so kind as give me some code which I can run here so I can reproduce your issues? Just by looking at your screenshots I cannot tell what the problems are. Thank you. Created attachment 686 [details]
Issues and code used
Hi Christopher, Please find issues and code used for those charts. Please suggest solution for this. Thanks
Hello Deepak, Thank you for the document, but the code examples you sent for the first three issues are not "Minimal, Complete, and Verifiable examples (MCVE)" as specified here: http://stackoverflow.com/help/mcve without a full MCVE for each issue I cannot reproduce it here and so cannot attempt to find a resolution. I would like to remind you again, as I did in my last message, that the correct forum for technical support is: http://suppport.steema.com this site, http://bugs.teechart.net, is an issue tracker by which issues (bugs, enhancements) are registered, and is not a technical support forum. Hi Christopher, I am writing here in bug tracker because Steema offers backward compatibility from old TeeChart dll to new, but we are getting many issues while upgraded to new version. Seems like these are bugs and due to these, backward compatibility can not offer. This is urgent for us, and tech forum can take longer time and also could not find much option to post issue there, So I am writing here. The code I shared with this document, i common for all charts, we majorly have problem with Area- region charts Which is like when call write chart call createchart() method, which create different type of charts, with different case, please check code once agin and let me know if still have questions. Created attachment 689 [details] screenshot Hello Deepak, this is how the code you posted in your Word document appears in Visual Studio - 30 errors, some of which can be seen in the screenshot attached. Did you read the link I posted on this thread on "How to create a Minimal, Complete, and Verifiable example"? Here is the link again: http://stackoverflow.com/help/mcve the point I want to make here is that an MCVE actually compiles without error. This is not the case with the example you have sent us. Would you please be so kind as to post an MCVE for each problem you have in a separate thread on http://support.steema.com? That would be greatly appreciated. Thank you. Hi Christopher,
I have updated Teechart Sample Webapp VHArea.aspx.cs page to render Area/Region chart, You can replace the below function in TeeChartForNET\Chart Styles\Standard\VHAreaChart.aspx.cs, to replicate issue, I have added sample data having negative and positive values
private void DropDownList1_SelectedIndexChanged(object sender, System.EventArgs e)
{
WebChart1.Chart.Series.RemoveAllSeries();
switch (DropDownList1.SelectedIndex)
{
case 0:
var area = new Steema.TeeChart.Styles.Area();
area.MultiArea = Steema.TeeChart.Styles.MultiAreas.Stacked100;
area.Stacked = Steema.TeeChart.Styles.CustomStack.Stack100;
area.AreaLines.Color = Color.Black;
area.Opacity = 0;
area.Transparency = 100;
area.AreaBrush.Color = Color.White;
area.Color = Color.Red;
for (int i = -5; i < 10; i += 2)
{
area.Add(i, "Description", System.Drawing.Color.Red);
}
WebChart1.Chart.Series.Add(area);
var area2 = new Steema.TeeChart.Styles.Area();
area2.MultiArea = Steema.TeeChart.Styles.MultiAreas.Stacked100;
area2.Stacked = Steema.TeeChart.Styles.CustomStack.Stack100;
area2.AreaLines.Color = Color.Black;
area2.Opacity = 0;
area2.Transparency = 100;
area2.AreaBrush.Color = Color.White;
area2.Color = Color.Green;
for (int i = 10; i > -5; i -= 2)
{
area2.Add(i, "Description", System.Drawing.Color.Green);
}
WebChart1.Chart.Series.Add(area2);
break;
case 1:
var area3 = new Steema.TeeChart.Styles.HorizArea();
area3.MultiArea = Steema.TeeChart.Styles.MultiAreas.Stacked100;
area3.Stacked = Steema.TeeChart.Styles.CustomStack.Stack100;
area3.AreaLines.Color = Color.Black;
area3.Opacity = 0;
area3.Transparency = 100;
area3.AreaBrush.Color = Color.White;
area3.Color = Color.Red;
for (int i = -5; i < 10; i += 2)
{
area3.Add(i, "Description", System.Drawing.Color.Red);
}
WebChart1.Chart.Series.Add(area3);
var area4 = new Steema.TeeChart.Styles.HorizArea();
area4.MultiArea = Steema.TeeChart.Styles.MultiAreas.Stacked100;
area4.Stacked = Steema.TeeChart.Styles.CustomStack.Stack100;
area4.AreaLines.Color = Color.Black;
area4.Opacity = 0;
area4.Transparency = 100;
area4.AreaBrush.Color = Color.White;
area4.Color = Color.Green;
for (int i = 10; i > -5; i -= 2)
{
area4.Add(i, "Description", System.Drawing.Color.Green);
}
WebChart1.Chart.Series.Add(area4);
break;
}
WebChart1.Chart.Series[0].FillSampleValues();
}
Please suggest, what is the reason for rendering negative values in TeeChart new DLL but old chart do not render negative values for area/Region charts
Created attachment 690 [details]
Charts Rendering from Area Charts sample code
Hi Christopher and Team, Could you please response of above issue, as this is very urgent. We need to know about area charts which rendering is correct , with latest DLL or with old one, and if new DLL area charts rendering is not correct, please suggest fix for this. Thanks Hello Deepak, After doing some test, I would like inform you we have found that disabling the UseOrigin property, the problem works seems solved in Winforms project. I have attached the project, in the bug, because you can check if it works as you expect. Could you confirm it us? Also, we have done the same test, in Demo Asp, but not always I can get the same result as WinForms. Could you do the same test as us, to confirm the problem persist? Below I have attached the code we have used. Many thanks for your help. Created attachment 692 [details]
Area Test project
Hi Sandra, We tried to disable useOrigin property and result still same. We used winform sample as you send and tried with negative values and negative values are rendering with new TeeChart dll version. We (Dev Teeam) still not sure if negative values rendering is correct or not, and wants confirmation from Steema side if they can explain how area charts is rendered. Right now rendering is completely different with old and new dll for TeeChart. Which means area charts are not rendering as we expecting and as previously render with old TeeCHart DLL. Please explain if your team know that these new DLL rendering is correct or please explain how Steema rendering area charts. As you asked, webform is rendering diffrent chart every time when load chart with same data. Many thanks for your help. Hello Deepak, Could you add the data file you use in “ScreenShot-Charts Rendering before and after update dll version” image, because we can use the same data values to do the rendering area test? You can attach that exporting the chart data in .txt or csv. Thanks for your help Hi Sandra, Hi Christopher, As you suggested, we prepared sample data and used this data to render Area/Region chart using TeeChart old DLL (version 1.1) and TeeCharts new DLL ( version 4.1.2014…) and using same data we rendered Area/Region chart from Microsoft Excel. We found that Excel and old DLL chart are rendered same , which is also correct but with new DLL, charts are completely different. Now we can confirm that Area/Region chart rendering with new TeeCharts DLL version 4.x.xxx.xxxx is not rendering correctly and this bug in TeeCharts, which must be fixed. I have attached the following files into BugAreaChartRenderIssue.zip file: 1- Data file 2- Screen shot from old chart DLL rendering 3- MS Excel used to render chart 4- Steema demo sample project file with above data – VHAreaChart.aspx.cs and Screen Shot Please investigate and fix this issue as this is very critical matter for us now and due to this we cannot release latest version of our product. Please feel free if anything not clear or need discussion. Also Please suggest if we can have chat/call/webex meeting to discuss this to resolve this quickly. Created attachment 709 [details]
BugAreaChartRenderIssue.zip
Hi Team, Please suggest fix for this issue for chart rendering, as this is already few month to raise this issue and we are unable to implement New charts to our application. This is now very critical for us. Thanks Created attachment 722 [details]
Stacked 100 Custom Series Problem
Hello Deepak, Sorry for the delay. Well, after doing some several tests we concluded it is a bug caused for Stack100 property. The problem is produced because the Stack100 isn’t calculated in same way for CustomSeries than BarSeries. Therefore, the Stack100 calculation isn’t correct for CustomSeries, for example, Area Series. The attached project reproduces the problem. Hi Sandra, Thanks for your response and analysis. I could not understand if this bug has been fixed or please provide us details what we need to implement to fix this issue our side. Thanks Hello Deepak, The bug isn't still fixed, but I have incremented the Severity and Priority because the bug is fixed as soon as possible. We will inform you immediately the bug is fixed Thanks in advance Hello Deepak, I would like inform you the bug is already fixed for next maintenance release. If you have the Teechart.Net 4.1.2016.10265 source code, we can send you the fix. Thanks in advance Thank you very much Sandra for fixing the issue. We are not using VS2016 version. Our solution is build in .Net 4.0 and we are using VS2015. Please provide fixed DLL for this version. Thanks Hi Sandra and Team, Please provide us fixed DLL for version mentioned in last comment because we are not using latest version which you have fixed. Please suggest if need to create new bug report or this can be provided in this bug report. Thanks ALso the version already mentioned in bug report for component version. Thanks Hello Deepak, I would like inform you I have sent a new email today. Thanks in advance for your patience Hi Sandra, We verified the fixes provided by you for TeeChart.dll .net framework 4.0, but sorry to say , this still showing wrongly. Please find attached images for charts rendering with given TeeChart DLL and same data using Excel charts. Please have a look and provide fix for this. I am sorry to come again and again for this but now almost 4-5 months for this issue and really very critical for us now as soon our release for product. Thanks in advance. Created attachment 736 [details]
Rendering Bug with new chart dll and compare with excel
Hello Deepak, I have attached a WebAreaTest project, done with your data. The behaviour you experiencing is caused for the line ch1.Series[0].FillSampleValues() there is in the code you sent us. The line added aleatory values in the Area1 altering the final results. You can check that in the image attached AreaResultsNotExcelwithFillSampleValues.jpg If you remove the line, the result you can get is similar as excel. You can check it with image attached SameAreaResultsThanExcel.jpg Please, use attached project to do tests. Hoping this helps Regards Created attachment 738 [details]
WebAreaTest
Created attachment 739 [details]
AreaResultsNotExcelwithFillSampleValues
Created attachment 740 [details]
SameAreaResultsThanExcel
Hi Sandra,
Thank you very much for resolving this issue for Area vertical. Now area vertical chart is looking exactly same as excel sample we provided.
But we need you help to display this chart same way this was with old implementation., after your changes, this showing negative value as well, but previously this was displaying on positive values, and our requirement is also to display positive values only. Please see example attached (Area chart negative value showing.png file)and suggest which property can help us to show positive values.
Another issue we are found after your implementation for Area Vertical charts which is not displaying at all, previous to these changes, this was displaying wrongly but now this is showing like attached example (Area Horizontal issue.png file).
please suggest, what is the issue for this and how we can fix this.
Thank in advance for your help and support.
Created attachment 748 [details]
Area chart showing negative values
Created attachment 749 [details]
Area horizontal Issue
Hi Team, Typo in last comments, We are having rendering issue now in Area Horizontal chart as per attached (Area horizontal Issue file). Vertical chart is fine now, and Thank you for resolving issue for that. Please suggest and fix bug for Area Horizontal ASAP because this is very critical for us, and now almost 6 months when we raise this bug to Steema. Thank You Created attachment 756 [details]
Area vertical and horizontal test
Hello Deepak I have modified the WebAreaTest project, because the Horizontal area draws in correct way. Could you check and confirm, if the change fixes the problem? Thanks in advance Hi Sandra, Could you please suggest which version of DLL you are using for this code, so that I can verify. Hello Deepak, I have used the latest Teecahrt.dll 4.1.2017.03140 for .Net40. Thanks in advance Thank You Sandra, I checked the demo project and this is rendering horizontal chart now, I will try this with our application and let you know if this solve our problem or not. But I noticed with demo/test project you just provided, that this is showing negative values. Our requirement is, even if database have negative value, chart do not need to show, means chart will always show value greater the zero. Could you please suggest in given demo test project, how we can show only positive values. Thank you very much for your response and help. Hi Sandra, Another small issue we found after your last fix for area chart, now with new DLL, line horizontal chart x axis label not showing correctly and showing black line and also background showing in gray color. Can you please check this as well. Created attachment 757 [details]
Line horizontal issue
Created attachment 758 [details]
Are horizontal test project correct rendering
Hi Sandra, Correct rendering for area horizontal should be similar to attached project, Not like rendering in Test Project you send. Please fix accordingly. Thanks
Hi Sandra and Team, Please suggest fix for area charts rendering issues, We have our product release date soon so this is very urgent matter for us. This has been delayed 1 release already. Please look into this bug on urgent basis. Thanks Created attachment 759 [details]
Area Horizonal project
Hello Deepak Verma, I have modified the project because it only uses the values biggest than 0. Could you told us if it represents the values in your end? Thanks in advance |