Multi-Series Column Line Single Y?

(3 posts) (2 voices)
  1. antonymo, Blocked

    Is there any way I can plot a Multi-Series Column Line Single Y chart?

    What I want to do is draw a trend line over my column chart, use the same Y-axis.

    Thanks,
    Antony

  2. myDBR Team, Key Master

    You can use ChartDirector commands to add new objects to any chart. Adding a line layer would require few commands:

    select 'dbr.chart.options', 'chartdirector', '
    $linelayer = $c->addLineLayer();
    $linelayer->moveFront();
    $linelayer->addDataSet(array(180,160,170,165),0xFF0000, "Target");
    $linelayer->setLineWidth(3);
    $linelayer->setDataLabelFormat("{value}");';

    --
    myDBR Team

  3. antonymo, Blocked

    Thanks for the answer, solve my problem! Awesome!

    Regards,
    Antoy


Reply

You must log in to post.