Forum Replies Created by kkoroleva

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: Making dashed legend marker #59888

    Here is my chart config:

    export const DEFAULT_CHART_OPTIONS = {
      theme: ChartConstants.THEME,
      animationEnabled: true,
      options: {
        scales: {
          y: {
            stacked: true,
          },
        },
      },
      title: {
        text: '',
      },
      axisX: {
        valueFormatString: '',
        interval: 1,
        intervalType: 'month',
      },
      axisY: {
        title: '',
        suffix: '',
      },
      toolTip: {
        shared: 'true',
      },
      legend: {
        cursor: ChartConstants.CURSOR,
      },
      data: [],
    };

    and here is the exact line config:

      predictGraph: {
        markerSize: 1,
        showInLegend: true,
        dataPoints: [],
        name: TextConstants.PREDICT,
        type: ChartConstants.LINE_TYPE,
        lineDashType: ChartConstants.DASH_TYPE,
        legendMarkerType: 'triangle',
        legendMarkerColor: 'white',
        color: ChartConstants.SECOND_LINE_COLOR,
        xValueType: 'dateTime',
      }

    @ananyadeka

    Thank you for the answer. Unfortunately, it is not working. But now both modules doesn’t work. I have installed the latest versions of both and tried to reinstall all node modules and recreate package-lock

    import issue with chart
    import issue with angular-chart

Viewing 2 posts - 1 through 2 (of 2 total)