Is there a way to update the dashboard developed using dc.js when dc.js version change - dc.js

Whenever i find the dc.js version changes, i used to manually update the syntax in my code and use the newest version.
Is there a way where the dashboard code need not be touched even the version of dc.js or d3.js version is updated?

Related

How to find Kendo ui previsous documents?

I am using old version (2018.3.1017) of Kendo ui. So current version has many changes. But I want to get documents or usage or demos of this version.
For example, https://demos.telerik.com/kendo-ui/grid/index has current version examples. How can I find documentation of 2018?
One way I can think of is to use a web archiver to look at old version of the page, like archive.org.
Here's the relevant page for your example:
https://web.archive.org/web/20180601000000*/https://demos.telerik.com/kendo-ui/grid/index
You get a calendar in which you can go to a specific year and see the dates on which the page was archived and view one of those archives. Since you're using 2018.3.1017, I guess you can check out the archive that was done on March 9th or April 3rd, 2018, since I don't know when this version was released and when the documentation was updated.

Migrating to NativeScript 7

I'm migrating a typescript/angular based NativeScript project over to the latest version of NativeScript, and am running into an issue. Before, I was using the tns-platform-declarations plugin (https://preview.npmjs.com/package/tns-platform-declarations) so I could get intellisense (I'm using VS Code) for things like UITextView and other native calls. But when updating my project, this module is removed from package.json. And if I add it back in, it says my project is not compatible with 7.x.
Do I just need to wait until the plugin is updated, or is there another way to get intellisense going, but still use NS 7.x?
Extending on Matthew's answer. Make sure you are including in your tsconfig the references.d.ts file, the one that points to either tns-platform-declarations or #nativescript/types, depending on your NativeScript version.
When you migrate the project it will change your tns-platform-declaration to #nativescript/types
https://nativescript.org/blog/nativescript-7-announcement/

Where to find d3 api document of old version(2.9.6)?

I'm using some library which is built based on d3.js. But the d3 version the lib is using is 2.9.6. there's are some api differences between 2.9 and 3.0. like attr method of selection is not support in 2.9 but available in 3.0. So I'm sure how can I know how is the api like for version 2.9. I have been searching around. I can't find specific api reference for 2.9, current d3 api reference is for the latest d3 version.
Does someone knows where to find the api documentation for d3 old version?

KineticJS-saveImagedata() , Problems updating to new kineticjs library

I used kinetic-v3.10.4.js for almost all my work.
Now the requirement changed and I need to add few more functionality that are available in newer versions.
So I started using kinetic-v4.0.1.js.
I made a sample file and it is working fine but few functions like saveImageData();,DetectionType.etc. are not working in 4.0.1 as they have been updated and instead of saveImageData(), createBufferImage() is the new function.
I am redoing everything with kinetic v4.0.1 now.
I can't find the old example in the website that was using createBufferImage() for image event detection as it has been updated to 4.3.3
So anyone having any old example that help in pixel detection/image detection with 4.0.1
How about searching from archived internet contents, archive.org
http://web.archive.org/web/*/http://html5canvastutorials.com

nvd3.js stackedAreaChart chart transitions. Like on nvd3.org

So my question is pretty simple.
How to achieve the same smoothness as on nvd3.org for stackedAreaChart.
When you click on it, it changes its states slowly and smoothly.
In my project if I use latest nv.d3.js from https://github.com/novus/nvd3 I have no smoothness. If I replace it with nv.d3.js from nvd3.org everything works fine.
Any suggestions? Maybe it can be somehow achieved through d3.js API?
It seems that the transitions were very recently disabled for stackedAreaCharts in the repository, as pointed out in this issue: https://github.com/novus/nvd3/issues/45
This change has not made it to the version hosted on nvd3.org yet. This explains why the transitions work on using the version hosted there while they don't work in the latest build from Github.

Resources