steema / teechart-net-pro-samples Goto Github PK
View Code? Open in Web Editor NEWThis repository includes all the content and samples that make use of the TeeChart NET Pro product.
This repository includes all the content and samples that make use of the TeeChart NET Pro product.
Hello, I am a beginner with TeeChart, and I am currently facing some difficulties in using TeeChart-Net. My English is not very good, so please forgive me. Here are the details:
I want to try exporting vector graphics in my code, as follows:
//string imagePath = ConstantUtil.AppFilePath + "temp\temp_report_chart_" + DateTime.Now.Ticks + cnt.ToString() + ".wmf";
//MetafileFormat metafile = chart.Export.Image.Metafile;
//metafile.Height = 370;
//metafile.Width = 758;
//metafile.Save(imagePath);
However, I have encountered an issue. When exporting in BMP format, the line thickness is normal. But when exporting in vector graphic format (WMF), the lines become thicker, and even when I modify the line thickness property, it doesn't change.
So, how should I handle this to prevent the lines from becoming too thick in WMF format?
Thank you for your assistance.
Hi,
I'm having trouble when trying out the Maui example for the TeeChart control.
Here are the details:
System.ArgumentNullException
HResult=0x80004003
Message=Value cannot be null. (Parameter 'type')
Source=System.Private.CoreLib
StackTrace:
at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
at Steema.TeeChart.Drawing.Shape.get_Pen()
at Steema.TeeChart.Panel..ctor(Chart c)
at Steema.TeeChart.Chart.InitVars()
at TeeChart.Maui.ChartView..ctor()
at TeeChart.Maui.Gallery.MainPage.OnCounterClicked(Object sender, EventArgs e) in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 25
at TeeChart.Maui.Gallery.MainPage..ctor() in .....\TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\MainPage.xaml.cs:line 11
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
Can someone help me make this working?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.