GithubHelp home page GithubHelp logo

steema / teechart-net-pro-samples Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 9.0 110.64 MB

This repository includes all the content and samples that make use of the TeeChart NET Pro product.

C# 64.72% CSS 6.46% JavaScript 2.74% SCSS 2.86% HTML 1.43% ASP.NET 2.37% Visual Basic .NET 19.41% Dockerfile 0.01%

teechart-net-pro-samples's People

Contributors

chris-steema avatar edusteema avatar mogmem avatar pepjorge avatar rubenglam avatar yerayalonso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teechart-net-pro-samples's Issues

Export as image

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.

ArgumentNullException in TeeChart.Maui.Gallery

Hi,
I'm having trouble when trying out the Maui example for the TeeChart control.
Here are the details:

Development Environment

  • Microsoft Windows 10 Pro, Version 21H2, OS build 19044.2130
  • Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.3.6

Steps to reproduce

  • Download this repository
  • Open 'TeeChart-NET-Pro-Samples-main\MAUI\TeeChart.Maui.Gallery\TeeChart.Maui.Gallery.sln' in Visual Studio
  • Select 'Windows Machine' as the target
  • Build and Run the solution

Result

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.