Highcharts 8 upgrade : No exported member for Highcharts.DataPoint - highcharts

I'm upgrading highcharts from 6.2 to 8.2.2 in an angular/typescript project but a lot of classes doesn't exists anymore.
I can't find any upgrade guide listing what was refactored and how.
For instance I can't find what is the new name for Highcharts.DataPoint.
Someone know?

Related

I have a Swift Package and I want to know how to get the current version of this package

Similar to how you get your apps version kCFBundleVersionKey how does one get the version of the package you are working in?
I don't think it's possible at the moment to get the value easily.
You can either read the Package.resolved file or you can set up a public constant where you would define the version of your library.
public let version = "0.0.1"
import MyLibrary
print(MyLibrary.version)
There isn't a standard way how to do this, every package could have a different constant (or not have it at all)
You can check package version rules in project package dependencies tab. Check screenshot below. Propably it would be sufficient for most use cases.
Edit: The context has changed, the question was to get the version of MyPackage I'm working on via code. There isn't any documented or recommended method as of now. Though this can be achieved by a hack through reading the Package.resolved file as mentioned by Malcolm.
I'm not deleting this answer for any future users who are looking for answer on how to get the exact latest version of a Package.
You can give the same major version number and give Update to latest package version option on Xcode. eg: If current version is 2.4.5 you just need to provide 2.0.0 and update. There is also an option to provide the exact version of swift package you need.

Getting errors while changing Chart framework from Swift 2.+ to Swift 3.0 version

I am trying to change CHART(https://github.com/danielgindi/Charts) swift version 2.3 to 3.0 library in previous project.
After removing old files (Swift 2.+) files from project added new files latest version (Swift 3.0).
I am getting error like:
/Users/mac/Documents/Project/Your Notes/Your
Notes/Classes/Common/Utilities/RadarGraph/Utils/ChartFill.swift:21:17:
Type member may not be named 'Type', since it would conflict with the
'foo.Type' expression
I searched lot of time regarding this. I am unable to get the exact thing.

How do i update this legacy plugin[IOS] to work with phonegap//cordova 3.x

I am trying to update an old plugin i found. My Objective C skills are close to null and i was wondering if somebody could point me to a suitable guide to update this plugin. I have made a plugin.xml and installed it in my app succesfully but but the native code is way to old (phonegap 1.5)and does not work.
Would be even better if someone could help me .
This is the plugin i wanted to update for use in phonegap 3.0
https://github.com/phonegap/phonegap-plugins/tree/DEPRECATED/iOS/AudioRecord
Thanks in advance for taking out time to check this out

Big Problems upgrading Cordova

well I have to update from cordova 2.5.0 to cordova 2.9.0 - so I have to update first from 2.5. to 2.6 to...2.9.0
I'm always having troubles with these upgrades, because I'm not a native speaker and might get the documentation on cordova.apache.org wrong
Ok here is where I'm stuck right now:
I have to run the create command with the following parameters:
- Path to your new Cordova iOS project
- Package name, following reverse-domain style convention
- Project name
2 questions:
- is the command-line-tool the terminal
- what is meant by package-name? Is is important, that this new project should have the same package-name and reverse-domain-style like my real project i want to upgrade from 2.5 to 2.x?
Sorry if this is a ridicolous question, but I'm really desperate right now :(
Hope someone could help me.
Here is the link which will help you to upgrade your existing PhoneGap application.
http://docs.phonegap.com/en/2.9.0/guide_upgrading_android_index.md.html
Yes you need to use the terminal for using command line tool.
Package name is used for unique identification for your app. So it is important as the same package name you also need to declare in your provisioning certificate for iOS . So you need to give the same package name as in your existing project.

Why does the first step in the "Get Started With Web UI" tutorial cause an error and what does the error mean?

I'm going through the "targets" (tutorials) at dartlang.org. I'm at Target 6: Get Started with Web UI and have run into an error at step #1 under the section "Set up background compilation in Dart Editor".
Could someone explain why this error is happening, or what I could do to resolve it? The error is below.
Error setting breakpoint at 'main': 'package:logging/logging.dart':
Error: line 250 pos 24: wrong number of type arguments in type 'Comparable'
class Level implements Comparable<Level> {
^
I have not changed anything in any logging package, nor messed with any Comparable class. What gives?
Take a look at this question. I actually don't know why is this happening(If someone of the dart dev team is reading this, please, explain us :D), but it seems that they changed the Comparable interface structure in M3, and forgot to update the logging package ;)
To solve your problem, go to the "logging.dart" file and make this change:
FROM:
class Level implements Comparable<Level> {
TO:
class Level implements Comparable {
This is probably related to incompatibilities between the version of the SDK you are running and the version of web_ui. If you have the most recent version of both, they work together. If you don't want to use the most recent versions, then you have to explicitly manage the versions in your pubspec.yaml file.
I'm using Dart Editor version: 0.4.0_r18915 and web_ui version: 0.4.0
and it works fine.
Try getting the most recent version of Dart Editor, remove the pubspec.lock file, and run pub install again.
Meanwhile, I will figure out how to strengthen the language in the tutorial about managing versions.
Hope this helps.
mem

Resources