SAPUI5 Viz frame don't connect points

  1. I have programmed a viz frame for display but if there is no value it should still connect the points.

  2. How can I do that not every date is displayed?

    var oDataset = new sap.viz.ui5.data.FlattenedDataset({ dimensions : [{ name : "Datum und Uhrzeit", value : "{date}", dataType : "date" }], measures : [ { name : "Wert", value : "{value}" }], data : { path : "/row" } }); oVizFrame.setDataset(oDataset); oVizFrame.setModel(oModel); oVizFrame.setVizType("line");

    oVizFrame.setVizProperties({
    title: {
        text: diagName
    },
    valueAxis: {
        title: {
            visible: false
         }
    },
    categoryAxis: {
        title: {
            visible: false
        }
    },
    legend : {
        visible: false
    },
    plotArea: {
    colorPalette : ["#0101DF","#F6CECE","#F6CECE"],
    marker:{visible : false},
    dataPoint:{invalidity: "ignore"},
    referenceLine: {
                    line: {
                        valueAxis: [{
                            value: og,
                            visible: true,
                            size: 1,
                            type: "dotted",
                            label: {
                                text: "Obergrenze",
                                visible: true
                            }
                            },{
                            value: ug,
                            visible: true,
                            size: 1,
                            type: "dotted",
                            label: {
                                text: "Untergrenze",
                                visible: true
                            }
                        }]
                    }
                }
    
    }});
    
    var feedCategoryAxis = new sap.viz.ui5.controls.common.feeds.FeedItem({
    "uid": "categoryAxis",
    "type": "Dimension",
    "values": ["Datum und Uhrzeit"]
    }),
    feedValueAxis = new sap.viz.ui5.controls.common.feeds.FeedItem({
    "uid": "valueAxis",
    "type": "Measure",
    "values": ["Wert"]
    });
    oVizFrame.addFeed(feedCategoryAxis);
    oVizFrame.addFeed(feedValueAxis);
    return oVizFrame;
    

    }