zhoupIT

Results 6 comments of zhoupIT

这是我做的效果 代码如下 ``` - (AAOptions *)customizeOptions { AAChartModel *aaChartModel = AAChartModel.new .chartTypeSet(AAChartTypeAreaspline)//图表类型 .yAxisLineWidthSet(@0) // Y轴轴线线宽为0即是隐藏Y轴轴线 .yAxisLabelsEnabledSet(false) .yAxisGridLineStyleSet([AALineStyle styleWithWidth:@0])//y轴横向分割线宽度为0(即是隐藏分割线) .yAxisPlotLinesSet(@[AAPlotLinesElement.new .colorSet(@"#ECECEC")//颜色值(16进制) .dashStyleSet(@"Solid")//样式:Dash,Dot,Solid等,默认Solid .widthSet(@(0.5)) //标示线粗细 .valueSet(@(10000)) //所在位置 .zIndexSet(@(1)) //层叠,标示线在图表中显示的层叠级别,值越大,显示越向前 .labelSet(AALabel.new .textSet(@"10000") .styleSet(AAStyleColor(@"#C1C7D0")))])...

> 不支持此设计. > > Highchart 只能有准星线, 或者是将准星线的宽度加宽, 改成这种柱状背景效果. > 但是不支持既有准星线又有柱状背景. 明白了,我去试试。多谢大佬!大佬再想问一下,多条折线的情况下,选中会默认选择所有的线。我需要隐藏掉tooltip,通过.tooltipEnabledSet(false)现在变成就只能选择一条线了,那我该怎么隐藏呢

注册节点的代码是 ``` // 节点 Graph.registerNode( "dag-node", { inherit: "vue-shape", width: 180, height: 36, component: { template: ``, components: { database, }, }, ports: { groups: { left: { position: "left",...

已解决,因为当 component 为 Vue 组件或函数时,将不能通过 graph.JSON()和graph.fromJSON() 方法正确导出和导入画布数据,得换Graph.registerVueComponent(...) 注册来解决