flex-charts

Flex Charts: Can you use a minimum/maximum point from an IAxis for Cartesian Data Canvas to draw the entire width of the chart?

情到浓时终转凉″ 提交于 2020-01-23 03:30:29
问题 I have a chart with a DateTime axis as my horizontal and a Linear Axis for my vertical inside a Adobe Flex Line Chart. I want to use a Cartesian Data Canvas as a background element and draw custom set of background graphics mostly rectangles. When I have more than a single data point, the graphics work perfectly since they are supposed to span the width of the entire chart. When I have only a single data point, however, I can't seem to get the rectangles to draw. Since I want my rectangles to

Wijmo 5 flex chart doesn't work with knockout foreach binding

有些话、适合烂在心里 提交于 2019-12-10 17:55:57
问题 I want dynamically update the values(or add extra legend item) on my chart thus I can't use the 'hardcoded' html markup from the flexchart example page. the problem is that foreach binding inside wjFlexChart block doesn't work at all. here's my code: View: <div data-bind="wjFlexChart: { itemsSource: data, bindingX: 'week' }"> <div data-bind="foreach: $data.legend"> <div data-bind="wjFlexChartSeries: { name: name, binding: value}"></div> </div> </div> ViewModel: data = new wijmo.collections