Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
Ultrachart: Line Chart and Markers
posted

Hello

I will really appreciate if some will find the time to help me with solving some problems I've got while I depeloped an ultrachart.

First: I have lines data presentation and I need to use the  Data markers (circles or diamonds). I could not find any appropriate property of my graph to show it up.

When I have only data point- it's not apperead on the screen because it's imposible to drow a line. But I need it. If I use Nullhandling - in this case I can see it but with Zero values as start and end- this is not acceptable due to Zero is a Value for me. So I must use DontPlot. If I use a marker- will it help me to display all data even if it's only one point?

Second: My x axis presents dates with max count about 60. When I have to run my application for periods with total count biger then 50- end of 10-15 %  of dates  are cut off. How can I fix it?

And third- when I use export (reporting)- my margins are cut off. If there's any possibility to prevent Report;s margins?

Thanks a lot,

Elena

  • 53790
    Suggested Answer
    posted

    Hello ElenaA,

    ElenaA said:
    When I have only data point- it's not apperead on the screen because it's imposible to drow a line. But I need it.

    Maybe one possible approach to achieve the desired behavior is to combine the scatter chart (when you have just one point) and line chart when you have more than one points.

    ElenaA said:
    First: I have lines data presentation and I need to use the  Data markers (circles or diamonds). I could not find any appropriate property of my graph to show it up.

    You could try to use the properties of LineAppearance and LineChartAppearance.  By this way you are able to change the size and type of Icon (Marker). Please take a look in the code for more details.

    ElenaA said:
    Second: My x axis presents dates with max count about 60. When I have to run my application for periods with total count biger then 50- end of 10-15 %  of dates  are cut off. How can I fix it?

    I`m not sure what is your scenario, but maybe one possible approach is to set properties axisX.TimeAxisStyle.TimeAxisStyle = RulerGenre.Discrete; and axisX.ScrollScale = true;

    ElenaA said:
    And third- when I use export (reporting)- my margins are cut off. If there's any possibility to prevent Report;s margins?

    Please take a look at the exported images below and the code that I used. Please if you have any questions, or if you think that I misunderstood your scenario, do not hesitate to ask me

    Regards

    CompositeLineChart_4.zip