GithubHelp home page GithubHelp logo

eskutti / emi-calculator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 408 KB

EMI Calculator for Car loan, Personal Loan, Home Loans etc. This application build using Ionic Angular

License: MIT License

JavaScript 5.19% TypeScript 55.42% HTML 15.88% SCSS 19.76% Java 3.75%
emi-calculator chartjs car-loan emi emicalculatorapp car-loan-emi-calculator home-loans

emi-calculator's People

Watchers

 avatar

Forkers

rawsting

emi-calculator's Issues

typescript error on the "xAXES" and *yAXE

Hi SIr ,
There were issue typescript error on the "xAXES" and *yAXES" .

scales: {
xAxes: [{
gridLines: {
display: false
},
stacked: true,
}],
yAxes: [{
gridLines: {
display: false
}, ticks: {

Type '{ gridLines: { display: false; }; ticks: { callback: (value: any, index: any, values: any) => string; }; stacked: true; }[]' is not assignable to type '_DeepPartialObject<{ type: "linear"; } & CartesianScaleOptions & { beginAtZero: boolean; suggestedMin?: number; suggestedMax?: number; grace?: string | number; ticks: { format: NumberFormatOptions; maxTicksLimit: number; precision: number; stepSize: number; count: number; }; }> | _DeepPartialObject<...> | _DeepParti...'. Type '{ gridLines: { display: false; }; ticks: { callback: (value: any, index: any, values: any) => string; }; stacked: true; }[]' is not assignable to type '_DeepPartialObject<{ type: "timeseries"; } & CartesianScaleOptions & { bounds: "ticks" | "data"; adapters: { date: unknown; }; time: { parser: string | ((v: unknown) => number); round: false | TimeUnit; ... 5 more ...; minUnit: TimeUnit; }; ticks: { ...; }; }>'. Types of property 'reverse' are incompatible. Type '() => { gridLines: { display: false; }; ticks: { callback: (value: any, index: any, values: any) => string; }; stacked: true; }[]' is not assignable to type 'boolean'.ts(2322) utils.d.ts(13, 30): The expected type comes from property 'yAxes' which is declared here on type '_DeepPartialObject<{ [key: string]:

Typescripts error :'lineTension' does not exist in type 'ChartDataset

Hi Sir,

Another Typescripts error found.

this.lineChart = new Chart(this.lineCanvas.nativeElement, {
type: "line",
data: {
labels: labels,
datasets: [
{
data: outStandingAmounts,
label: "Outstanding principal",
fill: false,
lineTension: 0.1,

Problem:

Type '{ data: any[]; label: string; fill: false; lineTension: number; backgroundColor: string; borderColor: string; borderCapStyle: "butt"; borderDash: undefined[]; borderDashOffset: number; borderJoinStyle: "miter"; ... 9 more ...; spanGaps: false; }' is not assignable to type 'ChartDataset<"line", any[]>'.
Object literal may only specify known properties, and 'lineTension' does not exist in type 'ChartDataset<"line", any[]>'.

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.