Questions tagged angularjs

Explore the latest questions and answers asked by our top developers.

How can I use tradingview lightweight chart in angular app?

I am making an angular web app. This is a site will use the tradingview`s lightweight-charts. I made a research about I can integrate, I found this library: https://github.com/tradingview/lightweight-charts I made the ‘npm install’, but I don’t know how I can use it in an angular app. I found these site explains how I can […]

By Fabian Rico
Published
Categorized as angular, angularjs, tradingview-api Tagged , ,

Chart.js with Angular component – Type ‘string’ is not assignable to type ‘ChartTitleOptions | undefined’

I am trying to implement one chat component to my website with Chart.js but I am getting the error "Type ‘string’ is not assignable to type ‘ChartTitleOptions | undefined’", is there any problem with the version? import { Component, OnInit, Input, ViewChild } from ‘@angular/core’; import { Chart } from ‘chart.js’ @Component({ selector: ‘app-line-chart’, templateUrl: […]

By Rudson Rodrigues
Published
Categorized as angular, angularjs, chart.js, charts Tagged , , ,

D3 heatmap tooltip bug ~ On mouseover the cursor changes to text cursor icon

Heatmap Cursor Error Heatmap Cursor Correct The first link shows what happens to the cursor on mouseover, this only happens sometimes and not on the whole area of the box. The second link is what should be happening. I’m not sure my error or why this may be happening. I thought it could have to […]

By Christina Closson
Published
Categorized as angularjs, d3.js, d3heatmap, typescript Tagged , , ,

How can I override a service attribute in angularJS?

Given this piece of code, I want to override the nameKey and the menuorder attributes in order to change their values. I want to do it in a new file, How could this be done? angular.module(‘contextualmenu_editBoardService’, []).service(‘boardEditorService’, () => ({ nameKey: ‘SK_RENAME_BOARD’, iconClass: ‘icon-edit’, menuorder: 0 }); Should I create an other angular.module and another […]

Running old angularJS project

I’m trying to run old project based on AngularJS. I getting an error: The serve command requires to be run in an Angular project, but a project definition could not be found. I’ve tried many solutions what I found, but nothing works. I’m running project from path when is package.json. There is also option to […]

By Bartosz K dzio a
Published
Categorized as angularjs, javascript Tagged ,

A better method to detect phone notch?

I have a method to detect the notch on iPhones and it works…but I just found out it doesn’t work well. About 1 out of 5 app starts, I see the function reporting that the phone doesn’t have the notch when in fact it does. When my app deviceReady() state is activated, I then check […]

By rolinger
Published
Categorized as android, angularjs, cordova, ios, javascript Tagged , , , ,

How to disable previous input field on dynamically adding new input field in form in angular?

In my form I am adding new input field dynamically on click of add icon. How will I make the previous input field read only, when I click on add icon so that only current field value can be changed. Source: AngularJS Questions

By kanchan mittal
Published
Categorized as angularjs Tagged

button did not disable correctly angular js javascript

I need to disable my reset button if form field empty. I am trying to do it using below code. Please check this sample <div class="col-sm-3"> <select class="form-control" ng-model="SelectedYear" ng-options="label for label in Years" ng- change="UpdateNumberOfDays()"> <option value="">–Year–</option> </select> </div> <div class="col-sm-3"> <select class="year-text form-control" ng-model="SelectedMonth" ng-disabled="!SelectedYear" ng-options="label for label in Months" ng-change="UpdateNumberOfDays()"> <option value="">–Month–</option> […]

By Kumara
Published
Categorized as angularjs, javascript Tagged ,

how to bring highlight js into pre tag in a whole angularjs application?

I have an angularjs app for students to learn it includes so many html pre tags and code snippets in it. It have highlight js but some of the syntaxes aren’t showing exact colours. but i have added window.onload function in one of the usecases and it works, properly. the thing i want ; is […]

By Ahammad Kabeer P I
Published
Categorized as angularjs, html, javascript, jquery Tagged , , ,

Problem with saving the file (ASP.NET, Angular)

I create an application using three kinds of technology ASP.NET, MVC, and AngularJS. The back-end contains one page of .aspx and one file of the controller (and some .cs files). The front-end is AngularJS and jQuery. The problem is when I try to save something to the file on the server (no matter what and […]

By Michal
Published
Categorized as .net, angularjs, c# Tagged , ,
1 1,461

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq