in Education by
So basically this is what I want to do: There's a gap in the x axis between week 27 and week 32 which you can't really see if you don't look closely. I would like to cut the line graph in two to indicate that there is data missing. I've seen examples like this one (https://stackoverflow.com/a/15123478/1652348) but I would prefer to not add all the empty weeks to the x axis (in order to save space). Any ideas/suggestions? Thanks! JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
You can add null values for the weeks that don't have their own values. Adding null values will break your spline series just like you want. Here you can find the code that can help you making your chart: { data: [65, 76, 70.3, 79.3, null, 53.5, 77.7], } and here you can see an example how it can work: http://jsfiddle.net/555Lcrbb/2/

Related questions

0 votes
    The probability that the graph of y=16x2+8(a+5)x-7a-5=0, is strictly above the x-axis, If a∈[-20,0] A. 1720 B. 1320 C. 720 D. 320 Select the correct answer from above options...
asked Nov 15, 2021 in Education by JackTerrance
0 votes
    I am trying to use ES2017 async/await syntax with Babel. In package.json, I have "babel": { " ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 14, 2022 in Education by JackTerrance
0 votes
    I am trying to use ES2017 async/await syntax with Babel. In package.json, I have "babel": { " ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 8, 2022 in Education by JackTerrance
0 votes
    I am trying to use ES2017 async/await syntax with Babel. In package.json, I have "babel": { " ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 30, 2022 in Education by JackTerrance
0 votes
    When gradient of a function is zero, the function lies parallel to the x-axis. State True/ ... proposed by,electromagnetic theory engineering physics,electromagnetic theory nptel...
asked Nov 11, 2021 in Education by JackTerrance
0 votes
    I have a mobile website that plays a background song. When I pressed the home button on my phone ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 10, 2022 in Education by JackTerrance
0 votes
    I have added the Google Translate plugin to my web page. How can I get a callback to my ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 26, 2022 in Education by JackTerrance
0 votes
    I created a raycaster that allows me to pick an object from the scene with my mouse like such: ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Apr 9, 2022 in Education by JackTerrance
0 votes
    I have a simple WCF service that I'm exposing using a .svc. The service has some related DataContract ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 11, 2022 in Education by JackTerrance
0 votes
    (ii) Assign the value represented by variable N to the variable N1. (iv) Assign the sum of the two variables ... . What is nrogramming? Select the correct answer from above options...
asked Dec 1, 2021 in Education by JackTerrance
0 votes
    So I'm trying to make box and whisker plots for my weekly/monthly profit and loss for my sports betting picks for ... gotten me so far And following that here is my code exceldata...
asked Apr 7, 2022 in Education by JackTerrance
0 votes
    I have two lists, same size, one is y_data and one is x_data x_data is a time hh:mm:ss during ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    In gamesalad framework I am creating a game in which I have an actor which only moves on x-axis ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 18, 2022 in Education by JackTerrance
0 votes
    4. is a key that is used to identify the colours, patterns, or symbols assigned to data series. * OData Series O ... Y - Axis O Legend Select the correct answer from above options...
asked Dec 25, 2021 in Education by JackTerrance
0 votes
    10. Find magnitude and angle made by vector a = 5i+5root3j from x-axis. Also draw the vector Select the correct answer from above options...
asked Nov 30, 2021 in Education by JackTerrance
...