我需要在兴趣、原则和年份之间制作图表。从网络服务我得到以下值
[
{
"Year": 1,
"beginbal": 230000,
"endbal": 223725.97,
"interestY": 559.31,
"paymentY": 13088.23
}, {
"Year": 2,
"beginbal": 223725.97,
"endbal": 217261.1,
"interestY": 543.15,
"paymentY": 13088.23
}, {
"Year": 3,
"beginbal": 217261.1,
"endbal": 210599.6,
"interestY": 526.5,
"paymentY": 13088.23
}, {
"Year": 4,
"beginbal": 210599.6,
"endbal": 203735.49,
"interestY": 509.34,
"paymentY": 13088.23
}, {
"Year": 5,
"beginbal": 203735.49,
"endbal": 196662.59,
"interestY": 491.66,
"paymentY": 13088.23
}, {
"Year": 6,
"beginbal": 196662.59,
"endbal": 189374.57,
"interestY": 473.44,
"paymentY": 13088.23
}, {
"Year": 7,
"beginbal": 189374.57,
"endbal": 181864.88,
"interestY": 454.66,
"paymentY": 13088.23
}, {
"Year": 8,
"beginbal": 181864.88,
"endbal": 174126.77,
"interestY": 435.32,
"paymentY": 13088.23
}, {
"Year": 9,
"beginbal": 174126.77,
"endbal": 166153.3,
"interestY": 415.38,
"paymentY": 13088.23
}, {
"Year": 10,
"beginbal": 166153.3,
"endbal": 157937.3,
"interestY": 394.84,
"paymentY": 13088.23
}
]
我必须在余额和年份之间制作图表,差距为 5。第 5 年 .. 第 10 年。但我无法找到如何开始使用上述值实现图表的方法。如果有人对图表有所了解,请帮助我。
提前致谢。